Class ClientScopeAuthorizationRequestParser
- java.lang.Object
-
- org.keycloak.protocol.oidc.rar.parsers.ClientScopeAuthorizationRequestParser
-
- All Implemented Interfaces:
AuthorizationRequestParserProvider
,org.keycloak.provider.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(org.keycloak.models.ClientModel client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.keycloak.rar.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.
-
-
-
Method Detail
-
parseScopes
public org.keycloak.rar.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
-
close
public void close()
- Specified by:
close
in interfaceorg.keycloak.provider.Provider
-
-