docs: add token exchange to examples

This commit is contained in:
Emil Bektimirov 2022-12-20 01:49:13 +01:00
parent 42a965796b
commit 69e8cb434d
5 changed files with 178 additions and 8 deletions

View file

@ -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 {