Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: server/auth/delegation/doc.go

Issue 2236163002: auth: Low-level API for minting delegation tokens. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@store-int-in-cache
Patch Set: add tests Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | server/auth/delegation/minter.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/auth/delegation/doc.go
diff --git a/server/auth/delegation/doc.go b/server/auth/delegation/doc.go
new file mode 100644
index 0000000000000000000000000000000000000000..fbc8d6bbc104a74f949473cad26d84d3c5d5e3b2
--- /dev/null
+++ b/server/auth/delegation/doc.go
@@ -0,0 +1,15 @@
+// Copyright 2016 The LUCI Authors. All rights reserved.
+// Use of this source code is governed under the Apache License, Version 2.0
+// that can be found in the LICENSE file.
+
+// Package delegation contains low-level API for working with delegation tokens.
+//
+// It provides convenient wrappers around Auth Service API for creating the
+// tokens and related proto messages.
+//
+// If you don't know what it is, or why you would use it, you probably don't
+// need it.
+//
+// Prefer the high-level API in server/auth package, in particular
+// `MintDelegationToken` and `auth.GetRPCTransport(ctx, auth.AsUser)`.
+package delegation
« no previous file with comments | « no previous file | server/auth/delegation/minter.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698