Merge pull request #269 from muir/doc-client-not-cached
doc: document lack of client caching
This commit is contained in:
commit
5633b5518a
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,8 @@ type ClientCredentialsStorage interface {
|
||||||
}
|
}
|
||||||
|
|
||||||
type OPStorage interface {
|
type OPStorage interface {
|
||||||
|
// GetClientByClientID loads a Client. The returned Client is never cached and is only used to
|
||||||
|
// handle the current request.
|
||||||
GetClientByClientID(ctx context.Context, clientID string) (Client, error)
|
GetClientByClientID(ctx context.Context, clientID string) (Client, error)
|
||||||
AuthorizeClientIDSecret(ctx context.Context, clientID, clientSecret string) error
|
AuthorizeClientIDSecret(ctx context.Context, clientID, clientSecret string) error
|
||||||
SetUserinfoFromScopes(ctx context.Context, userinfo oidc.UserInfoSetter, userID, clientID string, scopes []string) error
|
SetUserinfoFromScopes(ctx context.Context, userinfo oidc.UserInfoSetter, userID, clientID string, scopes []string) error
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue