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.Loggerlogger
-
Constructor Summary
Constructors Constructor Description ClientScopeAuthorizationRequestParser(ClientModel client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()AuthorizationRequestContextparseScopes(String scopeParam)Creates aAuthorizationRequestContextwith a list ofAuthorizationDetailsthat 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 aAuthorizationRequestContextwith a list ofAuthorizationDetailsthat 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:
parseScopesin interfaceAuthorizationRequestParserProvider- Parameters:
scopeParam- the OAuth scope param for the current request- Returns:
- see description
-
-