ValidateTokenExchangeRequest implements the op.TokenExchangeStorage interface Common use case is to store request for audit purposes. For this example we skip the storing.
(ctx context.Context, request op.TokenExchangeRequest)
| 729 | // ValidateTokenExchangeRequest implements the op.TokenExchangeStorage interface |
| 730 | // Common use case is to store request for audit purposes. For this example we skip the storing. |
| 731 | func (s *Storage) CreateTokenExchangeRequest(ctx context.Context, request op.TokenExchangeRequest) error { |
| 732 | return nil |
| 733 | } |
| 734 | |
| 735 | // GetPrivateClaimsFromScopesForTokenExchange implements the op.TokenExchangeStorage interface |
| 736 | // it will be called for the creation of an exchanged JWT access token to assert claims for custom scopes |
nothing calls this directly
no outgoing calls
no test coverage detected