document JWTProfileTokenStorage
This commit is contained in:
parent
c35968e74d
commit
f8ce5f400f
2 changed files with 6 additions and 4 deletions
|
@ -44,6 +44,12 @@ type OPStorage interface {
|
|||
ValidateJWTProfileScopes(ctx context.Context, userID string, scopes []string) ([]string, error)
|
||||
}
|
||||
|
||||
// JWTProfileTokenStorage is an additional, optional storage to implement
|
||||
// implementing it, allows specifying the [AccessTokenType] of the access_token returned form the JWT Profile TokenRequest
|
||||
type JWTProfileTokenStorage interface {
|
||||
JWTProfileTokenType(ctx context.Context, request TokenRequest) (AccessTokenType, error)
|
||||
}
|
||||
|
||||
type Storage interface {
|
||||
AuthStorage
|
||||
OPStorage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue