Package com.okta.sdk.resource.model
Class OAuth2Claim
java.lang.Object
com.okta.sdk.resource.model.OAuth2Claim
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class OAuth2Claim
extends Object
implements Serializable
OAuth2Claim
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalwaysIncludeInToken
(Boolean alwaysIncludeInToken) claimType
(OAuth2ClaimType claimType) conditions
(OAuth2ClaimConditions conditions) boolean
Specifies whether to include Claims in the token.Get claimTypeGet conditionsGet groupFilterTypegetId()
ID of the ClaimgetLinks()
Get linksgetName()
Name of the ClaimGet statusWhen `true`, indicates that Okta created the ClaimgetValue()
Specifies the value of the Claim.Get valueTypegroupFilterType
(OAuth2ClaimGroupFilterType groupFilterType) int
hashCode()
void
setAlwaysIncludeInToken
(Boolean alwaysIncludeInToken) void
setClaimType
(OAuth2ClaimType claimType) void
setConditions
(OAuth2ClaimConditions conditions) void
setGroupFilterType
(OAuth2ClaimGroupFilterType groupFilterType) void
void
void
setStatus
(LifecycleStatus status) void
void
void
setValueType
(OAuth2ClaimValueType valueType) status
(LifecycleStatus status) toString()
valueType
(OAuth2ClaimValueType valueType)
-
Field Details
-
JSON_PROPERTY_ALWAYS_INCLUDE_IN_TOKEN
- See Also:
-
JSON_PROPERTY_CLAIM_TYPE
- See Also:
-
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_GROUP_FILTER_TYPE
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_SYSTEM
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
JSON_PROPERTY_VALUE_TYPE
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
OAuth2Claim
public OAuth2Claim()
-
-
Method Details
-
alwaysIncludeInToken
-
getAlwaysIncludeInToken
Specifies whether to include Claims in the token. The value is always `TRUE` for access token Claims. If the value is set to `FALSE` for an ID token claim, the Claim isn't included in the ID token when the token is requested with the access token or with the `authorization_code`. The client instead uses the access token to get Claims from the `/userinfo` endpoint.- Returns:
- alwaysIncludeInToken
-
setAlwaysIncludeInToken
-
claimType
-
getClaimType
Get claimType- Returns:
- claimType
-
setClaimType
-
conditions
-
getConditions
Get conditions- Returns:
- conditions
-
setConditions
-
groupFilterType
-
getGroupFilterType
Get groupFilterType- Returns:
- groupFilterType
-
setGroupFilterType
-
getId
ID of the Claim- Returns:
- id
-
name
-
getName
Name of the Claim- Returns:
- name
-
setName
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
system
-
getSystem
When `true`, indicates that Okta created the Claim- Returns:
- system
-
setSystem
-
value
-
getValue
Specifies the value of the Claim. This value must be a string literal if `valueType` is `GROUPS`, and the string literal is matched with the selected `group_filter_type`. The value must be an Okta EL expression if `valueType` is `EXPRESSION`.- Returns:
- value
-
setValue
-
valueType
-
getValueType
Get valueType- Returns:
- valueType
-
setValueType
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-