Package org.keycloak.protocol.oidc.rar
Interface AuthorizationRequestParserProvider
- All Superinterfaces:
Provider
- All Known Implementing Classes:
ClientScopeAuthorizationRequestParser
- Author:
- Daniel Gozalo
-
Method Summary
Modifier and TypeMethodDescriptionparseScopes(ClientModel client, String scopeParam) default AuthorizationRequestContextparseScopes(UserModel user, ClientModel client, String scopeParam) default AuthorizationRequestContextparseScopes(UserModel user, ClientModel client, AuthenticatedClientSessionModel clientSession, String scopeParam) Same asparseScopes(UserModel, ClientModel, String), but also given the client session scopes are being resolved for, when one already exists (e.g.
-
Method Details
-
parseScopes
-
parseScopes
default AuthorizationRequestContext parseScopes(@Nullable UserModel user, @Nonnull ClientModel client, @Nullable String scopeParam) -
parseScopes
default AuthorizationRequestContext parseScopes(@Nullable UserModel user, @Nonnull ClientModel client, @Nullable AuthenticatedClientSessionModel clientSession, @Nullable String scopeParam) Same asparseScopes(UserModel, ClientModel, String), but also given the client session scopes are being resolved for, when one already exists (e.g.nullbefore any client/user session exists, such as a consent screen preview). Needed for validations with side effects tied to that client session (e.g. identity pinning).- Parameters:
clientSession- the client session scopes are being resolved for, ornull
-