docs: add token exchange to examples
This commit is contained in:
parent
42a965796b
commit
69e8cb434d
5 changed files with 178 additions and 8 deletions
|
@ -17,6 +17,9 @@ const (
|
|||
|
||||
// CustomClaim is an example for how to return custom claims with this library
|
||||
CustomClaim = "custom_claim"
|
||||
|
||||
// CustomScopeImpersonatePrefix is an example scope prefix for passing user id to impersonate using token exchage
|
||||
CustomScopeImpersonatePrefix = "custom_scope:impersonate:"
|
||||
)
|
||||
|
||||
type AuthRequest struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue