JWTTokenRequest is a pointer

This commit is contained in:
David Sharnoff 2022-07-07 12:34:11 -07:00
parent 2f87e5de27
commit a304b66d42

View file

@ -20,7 +20,7 @@ type AuthStorage interface {
// - TokenRequest as returned by ClientCredentialsStorage.ClientCredentialsTokenRequest
// - RefreshTokenRequest as returned by AuthStorage.TokenRequestByRefreshToken
// - AuthRequest as returned one of the AuthStorage methods above
// - oidc.JWTTokenRequest created by decoding a JWT
// - *oidc.JWTTokenRequest created by decoding a JWT
CreateAccessToken(context.Context, TokenRequest) (string, time.Time, error)
// The TokenRequest parameter of CreateAccessAndRefreshTokens can be any of: