Class TokenOptions
Defined in File Authentication.h
Class Documentation
-
class TokenOptions
Data structure for overrides to the default token options.
Public Members
-
csp::common::String AccessTokenExpiryLength
The length of time for the access token to expire formatted as “HH:MM:SS”, must be between “00:00:01” and “00:30:00” The default token expiry length is configured by MCS and defaults to 30 minutes.
Value must be less than the default expiry length, or it will be ignored.
-
csp::common::String RefreshTokenExpiryLength
The length of time for the refresh token to expire formatted as “HH:MM:SS” or “HHH:MM:SS” value must be between “00:00:01” and “168:00:00” (eq.
7 days) The default token expiry length is configured by MCS and defaults to 7 days. Value must be less than the default expiry length, or it will be ignored.
-
csp::common::String AccessTokenExpiryLength