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
Nested ClassesModifier and TypeClassDescriptionstatic enumThe authorization response modestatic enumThe authorization response type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe 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 stateinthashCode()redirectUri(URI redirectUri) responseMode(TokenProtocolRequest.ResponseModeEnum responseMode) responseType(TokenProtocolRequest.ResponseTypeEnum responseType) voidsetClientId(String clientId) voidsetGrantType(GrantType grantType) voidsetRedirectUri(URI redirectUri) voidsetResponseMode(TokenProtocolRequest.ResponseModeEnum responseMode) voidsetResponseType(TokenProtocolRequest.ResponseTypeEnum responseType) voidvoidtoString()
-
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
-