Package com.mypurecloud.sdk.v2.model
Class OAuthClientListing
java.lang.Object
com.mypurecloud.sdk.v2.model.OAuthClientListing
- All Implemented Interfaces:
Serializable
OAuthClientListing
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe state of the OAuth client. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessTokenValiditySeconds(Long accessTokenValiditySeconds) The number of seconds, between 5mins and 48hrs, until tokens created with this client expire.createdBy(DomainEntityRef createdBy) User that created this clientdateCreated(Date dateCreated) Date this client was created.dateModified(Date dateModified) Date this client was last modified.dateToDelete(Date dateToDelete) The time at which this client will be deleted.description(String description) booleangetId()getName()getScope()getState()inthashCode()modifiedBy(DomainEntityRef modifiedBy) User that last modified this clientThe name of the OAuth client.registeredRedirectUri(List<String> registeredRedirectUri) List of allowed callbacks for this client.roleDivisions(List<RoleDivision> roleDivisions) Set of roles and their corresponding divisions associated with this client.Deprecated.The scope requested by this client.System created secret assigned to this client.voidsetAccessTokenValiditySeconds(Long accessTokenValiditySeconds) voidsetCreatedBy(DomainEntityRef createdBy) voidsetDateCreated(Date dateCreated) voidsetDateModified(Date dateModified) voidsetDateToDelete(Date dateToDelete) voidsetDescription(String description) voidsetModifiedBy(DomainEntityRef modifiedBy) voidvoidsetRegisteredRedirectUri(List<String> registeredRedirectUri) voidsetRoleDivisions(List<RoleDivision> roleDivisions) voidsetRoleIds(List<String> roleIds) voidvoidvoidThe state of the OAuth client.toString()
-
Constructor Details
-
OAuthClientListing
public OAuthClientListing()
-
-
Method Details
-
getId
-
name
The name of the OAuth client. -
getName
-
setName
-
accessTokenValiditySeconds
The number of seconds, between 5mins and 48hrs, until tokens created with this client expire. If this field is omitted, a default of 24 hours will be applied. -
getAccessTokenValiditySeconds
-
setAccessTokenValiditySeconds
-
description
-
getDescription
-
setDescription
-
registeredRedirectUri
List of allowed callbacks for this client. For example: https://myap.example.com/auth/callback -
getRegisteredRedirectUri
-
setRegisteredRedirectUri
-
secret
System created secret assigned to this client. Secrets are required for code authorization and client credential grants. -
getSecret
-
setSecret
-
roleIds
Deprecated. Use roleDivisions instead. -
getRoleIds
-
setRoleIds
-
dateCreated
Date this client was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateCreated
-
setDateCreated
-
dateModified
Date this client was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateModified
-
setDateModified
-
createdBy
User that created this client -
getCreatedBy
-
setCreatedBy
-
modifiedBy
User that last modified this client -
getModifiedBy
-
setModifiedBy
-
scope
The scope requested by this client. Scopes only apply to clients not using the client_credential grant -
getScope
-
setScope
-
roleDivisions
Set of roles and their corresponding divisions associated with this client. Roles and divisions only apply to clients using the client_credential grant -
getRoleDivisions
-
setRoleDivisions
-
state
The state of the OAuth client. Active: The OAuth client can be used to create access tokens. This is the default state. Disabled: Access tokens created by the client are invalid and new ones cannot be created. Inactive: Access tokens cannot be created with this OAuth client and it will be deleted. -
getState
-
setState
-
dateToDelete
The time at which this client will be deleted. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateToDelete
-
setDateToDelete
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-