api.access
Control availability to the access token.
api.access.deny(code, reason)
Mark the current token exchange as denied.
The protocol-specific error code justifying the rejection of the login.Allowed values:
invalid_scope, invalid_request, server_errorA human-readable explanation for rejecting the access token grant.
api.accessToken
Request changes to the access token being issued.
api.accessToken.setCustomClaim(key, value)
Set a custom claim on the Access Token that will be issed.
Name of the claim (note that this may need to be a fully-qualified url).
The value of the claim.
api.cache
Make changes to the cache.
api.cache.delete(key)
Delete a record describing a cached value at the supplied
key if it exists.
The key of the cache record to delete.
api.cache.get(key)
Retrieve a record describing a cached value at the supplied key,
if it exists. If a record is found, the cached value can be found
at the value property of the returned object.
The key of the record stored in the cache.
api.cache.set(key, value, options)
Store or update a string value in the cache at the specified key.
Values stored in this cache are scoped to the Trigger in which they
are set. They are subject to the Actions Cache Limits.
Values stored in this way will have lifetimes of up to the specified
ttl or expires_at values. If no lifetime is specified, a default of
lifetime of 24 hours will be used. Lifetimes may not exceed the maximum
duration listed at Actions Cache Limits.
Important: This cache is designed for short-lived, ephemeral data. Items may not be
available in later transactions even if they are within their supplied their lifetime.
The key of the record to be stored.
The value of the record to be stored.
Options for adjusting cache behavior.