feat: check allowed scopes (and pass clientID to GetUserinfoFromScopes)
This commit is contained in:
parent
b2903212ab
commit
b311610d06
10 changed files with 101 additions and 22 deletions
|
@ -28,7 +28,7 @@ type AuthStorage interface {
|
|||
type OPStorage interface {
|
||||
GetClientByClientID(context.Context, string) (Client, error)
|
||||
AuthorizeClientIDSecret(context.Context, string, string) error
|
||||
GetUserinfoFromScopes(context.Context, string, []string) (oidc.UserInfoSetter, error)
|
||||
GetUserinfoFromScopes(context.Context, string, string, []string) (oidc.UserInfoSetter, error)
|
||||
GetUserinfoFromToken(context.Context, string, string) (oidc.UserInfoSetter, error)
|
||||
GetKeyByIDAndUserID(ctx context.Context, keyID, userID string) (*jose.JSONWebKey, error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue