Package com.okta.sdk.resource.model
Class TokenProtocolRequest
java.lang.Object
com.okta.sdk.resource.model.TokenProtocolRequest
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class TokenProtocolRequest
extends Object
implements Serializable
Details of the token request
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The authorization response modestatic enum
The authorization response type -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The ID of the client associated with the tokenGet grantTypeSpecifies the callback location where the authorization was sentThe authorization response modeThe authorization response typegetScope()
The scopes requestedgetState()
Get stateint
hashCode()
redirectUri
(URI redirectUri) responseMode
(TokenProtocolRequest.ResponseModeEnum responseMode) responseType
(TokenProtocolRequest.ResponseTypeEnum responseType) void
setClientId
(String clientId) void
setGrantType
(GrantType grantType) void
setRedirectUri
(URI redirectUri) void
setResponseMode
(TokenProtocolRequest.ResponseModeEnum responseMode) void
setResponseType
(TokenProtocolRequest.ResponseTypeEnum responseType) void
void
toString()
-
Field Details
-
JSON_PROPERTY_CLIENT_ID
- See Also:
-
JSON_PROPERTY_GRANT_TYPE
- See Also:
-
JSON_PROPERTY_REDIRECT_URI
- See Also:
-
JSON_PROPERTY_RESPONSE_MODE
- See Also:
-
JSON_PROPERTY_RESPONSE_TYPE
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
-
Constructor Details
-
TokenProtocolRequest
public TokenProtocolRequest()
-
-
Method Details
-
clientId
-
getClientId
The ID of the client associated with the token- Returns:
- clientId
-
setClientId
-
grantType
-
getGrantType
Get grantType- Returns:
- grantType
-
setGrantType
-
redirectUri
-
getRedirectUri
Specifies the callback location where the authorization was sent- Returns:
- redirectUri
-
setRedirectUri
-
responseMode
-
getResponseMode
The authorization response mode- Returns:
- responseMode
-
setResponseMode
-
responseType
-
getResponseType
The authorization response type- Returns:
- responseType
-
setResponseType
-
scope
-
getScope
The scopes requested- Returns:
- scope
-
setScope
-
state
-
getState
Get state- Returns:
- state
-
setState
-
equals
-
hashCode
public int hashCode() -
toString
-