Skip to main content

GetOAuthClientResponse

Properties

NameTypeDescriptionNotes
IdStringID of the OAuth client[required]
BusinessNameStringThe name of the business the API Client should belong to[required]
HomepageUrlStringThe homepage URL associated with the owner of the API Client[required]
NameStringA human-readable name for the API Client[required]
DescriptionStringA description of the API Client[required]
AccessTokenValiditySecondsInt32The number of seconds an access token generated for this API Client is valid for[required]
RefreshTokenValiditySecondsInt32The number of seconds a refresh token generated for this API Client is valid for[required]
RedirectUris[]StringA list of the approved redirect URIs used with the authorization_code flow[required]
GrantTypes[]GrantTypeA list of OAuth 2.0 grant types this API Client can be used with[required]
AccessTypeAccessType[required]
TypeClientType[required]
InternalBooleanAn indicator of whether the API Client can be used for requests internal to IDN[required]
EnabledBooleanAn indicator of whether the API Client is enabled for use[required]
StrongAuthSupportedBooleanAn indicator of whether the API Client supports strong authentication[required]
ClaimsSupportedBooleanAn indicator of whether the API Client supports the serialization of SAML claims when used with the authorization_code flow[required]
CreatedSystem.DateTimeThe date and time, down to the millisecond, when the API Client was created[required]
ModifiedSystem.DateTimeThe date and time, down to the millisecond, when the API Client was last updated[required]
SecretString[optional]
MetadataString[optional]
LastUsedSystem.DateTimeThe date and time, down to the millisecond, when this API Client was last used to generate an access token. This timestamp does not get updated on every API Client usage, but only once a day. This property can be useful for identifying which API Clients are no longer actively used and can be removed.[optional]
Scope[]StringScopes of the API Client.[required]

Examples

  • Prepare the resource
$GetOAuthClientResponse = Initialize-PSSailpoint.BetaGetOAuthClientResponse  -Id 2c9180835d2e5168015d32f890ca1581 `
-BusinessName Acme-Solar `
-HomepageUrl http://localhost:12345 `
-Name Demo API Client `
-Description An API client used for the authorization_code, refresh_token, and client_credentials flows `
-AccessTokenValiditySeconds 750 `
-RefreshTokenValiditySeconds 86400 `
-RedirectUris [http://localhost:12345] `
-GrantTypes [AUTHORIZATION_CODE, CLIENT_CREDENTIALS, REFRESH_TOKEN] `
-AccessType null `
-Type null `
-Internal false `
-Enabled true `
-StrongAuthSupported false `
-ClaimsSupported false `
-Created 2017-07-11T18:45:37.098Z `
-Modified 2018-06-25T20:22:28.104Z `
-Secret null `
-Metadata null `
-LastUsed 2017-07-11T18:45:37.098Z `
-Scope [demo:api-client-scope:first, demo:api-client-scope:second]
  • Convert the resource to JSON
$GetOAuthClientResponse | ConvertTo-JSON

[Back to top]