refactoring
This commit is contained in:
parent
138da8a208
commit
0ca2370d48
25 changed files with 698 additions and 511 deletions
|
@ -34,11 +34,6 @@ type OPStorage interface {
|
|||
GetPrivateClaimsFromScopes(ctx context.Context, userID, clientID string, scopes []string) (map[string]interface{}, error)
|
||||
GetKeyByIDAndUserID(ctx context.Context, keyID, userID string) (*jose.JSONWebKey, error)
|
||||
ValidateJWTProfileScopes(ctx context.Context, userID string, scope oidc.Scopes) (oidc.Scopes, error)
|
||||
|
||||
//deprecated: use GetUserinfoFromScopes instead
|
||||
GetUserinfoFromScopes(ctx context.Context, userID, clientID string, scopes []string) (oidc.UserInfo, error)
|
||||
//deprecated: use SetUserinfoFromToken instead
|
||||
GetUserinfoFromToken(ctx context.Context, tokenID, subject, origin string) (oidc.UserInfo, error)
|
||||
}
|
||||
|
||||
type Storage interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue