Token Policies


API endpoints for managing Hosted Login token policies. Token policies are primarily used to specify token lifetimes.

EndpointMethods

List Your Token Policies

/{customerId}/config/tokenPolicies
Returns information about the token policies associated with a customer.
  • GET

View a Token Policy

/{customerId}/config/tokenPolicies{tokenPolicyId}
Returns information for a specific token policy.
  • GET

Modify a Token Policy

/{customerId}/config/tokenPolicies{tokenPolicyId}
Modifies the specified token policy.
  • PUT

Create a Token Policy

/{customerId}/config/tokenPolicies
Creates a new token policy.
  • POST

Delete a Token Polixy

/{customerId}/config/tokenPolicies/{tokenPolicyId}
Deletes the specified token policy.
  • DELETE

Manage Allowed Grant Types

/{customerId}/config/tokenPolicies/{tokenPolicyId}/allowedGrantTypes
Specifies the authorization grant types associated with a token policy.
  • GET
  • PUT

Manage Allowed Resource Indicators

/tokenPolicies/{tokenPolicyId}/allowedResourceIndicators
Manage the allowed resources associated with a token policy.
  • GET
  • PUT