Class BackchannelAuthenticationRequest
Object
se.curity.identityserver.sdk.authentication.BackchannelAuthenticationRequest
Describes the data structure that provides all information needed to fulfill a backchannel authentication request
-
Constructor Summary
ConstructorsConstructorDescriptionBackchannelAuthenticationRequest(String subject, @Nullable String usercode, @Nullable String bindingMessage, ClientIdentifier clientIdentifier, Set<ScopeValue> scopes, ClaimSet claims, Request originalRequest) -
Method Summary
Modifier and TypeMethodDescriptionThe binding message that was given by the client, used to inform the user about the backchannel authentication request.The requested claims that are allowed for the client.TheClientIdentifierof the requesting OAuth client.The original HTTP request for this backchannel authentication request.The requested scopes that are allowed for the client.The subject that is requested to authenticate.The usercode that was given by the client to be used to complete a backchannel authentication request.
-
Constructor Details
-
BackchannelAuthenticationRequest
public BackchannelAuthenticationRequest(String subject, @Nullable String usercode, @Nullable String bindingMessage, ClientIdentifier clientIdentifier, Set<ScopeValue> scopes, ClaimSet claims, Request originalRequest)
-
-
Method Details
-
getSubject
The subject that is requested to authenticate.- Returns:
- the subject
-
getUserCode
The usercode that was given by the client to be used to complete a backchannel authentication request.- Returns:
- the usercode, or null if no usercode was provided by the client
-
getBindingMessage
The binding message that was given by the client, used to inform the user about the backchannel authentication request.- Returns:
- the binding message, or null if no binding message was provided by the client
-
getClientIdentifier
TheClientIdentifierof the requesting OAuth client.- Returns:
- the
ClientIdentifier, ornullif this request wasn't made by an OAuth client - Since:
- 6.3.0
-
getScopes
The requested scopes that are allowed for the client.- Returns:
- the scopes, or
nullif this request wasn't made by an OAuth client - Since:
- 6.3.0
-
getClaims
The requested claims that are allowed for the client. Some claims may be implicitly inferred from the requested scope.- Returns:
- the claims, or
nullif this request wasn't made by an OAuth client. - Since:
- 6.3.0
-
getOriginalRequest
The original HTTP request for this backchannel authentication request.- Returns:
- the original HTTP request
- Since:
- 6.3.0
-