Interface ProtocolContext
-
- All Superinterfaces:
ProtocolContext,java.io.Serializable
public interface ProtocolContext extends ProtocolContext
This class represents a protocol context for OAuth 2.0 protocol.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthenticationRequestgetAuthenticationRequest()Get the authentication request.ClientgetClient()Get the client object.java.lang.StringgetClientId()Get the client ID.java.lang.StringgetClientName()Get the client name.java.lang.String[]getConsentDecision()DefinitiongetDefinition()Get the definition object.java.lang.LonggetDefinitionId()Get the definition ID.java.lang.StringgetDefinitionName()Get the definition name.voidsetConsentDecision(java.lang.String[] scopes)
-
-
-
Method Detail
-
getDefinitionId
java.lang.Long getDefinitionId()
Get the definition ID.- Returns:
- The definition ID.
-
getDefinitionName
java.lang.String getDefinitionName()
Get the definition name.- Returns:
- The definition name.
-
getDefinition
Definition getDefinition()
Get the definition object.- Returns:
- The definition object.
-
getClientId
java.lang.String getClientId()
Get the client ID.- Returns:
- The client ID.
-
getClientName
java.lang.String getClientName()
Get the client name.- Returns:
- The client name.
-
getClient
Client getClient()
Get the client object.- Returns:
- The client object.
-
getAuthenticationRequest
AuthenticationRequest getAuthenticationRequest()
Get the authentication request.- Returns:
- The authentication request.
-
setConsentDecision
void setConsentDecision(java.lang.String[] scopes)
-
getConsentDecision
java.lang.String[] getConsentDecision()
-
-