Class ClientScopeAuthorizationRequestParser
- java.lang.Object
-
- org.keycloak.protocol.oidc.rar.parsers.ClientScopeAuthorizationRequestParser
-
- All Implemented Interfaces:
AuthorizationRequestParserProvider
,Provider
public class ClientScopeAuthorizationRequestParser extends Object implements AuthorizationRequestParserProvider
- Author:
- Daniel Gozalo
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.jboss.logging.Logger
logger
-
Constructor Summary
Constructors Constructor Description ClientScopeAuthorizationRequestParser(ClientModel client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
AuthorizationRequestContext
parseScopes(String scopeParam)
Creates aAuthorizationRequestContext
with a list ofAuthorizationDetails
that will be parsed from the provided OAuth scopes that have been requested in a given Auth request, together with default client scopes.
-
-
-
Constructor Detail
-
ClientScopeAuthorizationRequestParser
public ClientScopeAuthorizationRequestParser(ClientModel client)
-
-
Method Detail
-
parseScopes
public AuthorizationRequestContext parseScopes(String scopeParam)
Creates aAuthorizationRequestContext
with a list ofAuthorizationDetails
that will be parsed from the provided OAuth scopes that have been requested in a given Auth request, together with default client scopes.Dynamic scopes will also be parsed with the extracted parameter, so it can be used later
- Specified by:
parseScopes
in interfaceAuthorizationRequestParserProvider
- Parameters:
scopeParam
- the OAuth scope param for the current request- Returns:
- see description
-
-