Set its properties. In most cases, the names of the properties match the labels shown in the Management Portal (apart from spaces and capitalization). For reference, see Configuring the Authorization Server. The properties are as follows:
-
AccessTokenInterval
-
AllowUnsupportedScope
-
AudRequired, which corresponds to the Audience required option
-
AuthenticateClass
-
AuthorizationCodeInterval
-
ClientSecretInterval
-
CustomizationNamespace
-
CustomizationRoles
-
DefaultScope
-
Description
-
EncryptionAlgorithm
-
GenerateTokenClass
-
IssuerEndpoint, which corresponds to the Issuer endpoint option, is of type OAuth2.EndpointOpens in a new tab. The class OAuth2.EndpointOpens in a new tab is a serial class with the properties UseSSL, Host, Port, and Prefix.
-
JWKSFromCredentials
-
KeyAlgorithm
-
Metadata, which is an instance of OAuth2.Server.Metadata, and which includes many properties. See OpenID Provider Metadata in https://openid.net/specs/openid-connect-discovery-1_0.htmlOpens in a new tab.
-
RefreshTokenInterval
-
ReturnRefreshToken
-
SSLConfiguration
-
SessionClass
-
SessionInterval, which corresponds to the Session termination interval option
-
SigningAlgorithm
-
SupportSession, which corresponds to the Support user session option
-
SupportedScopes, which corresponds to the table with Scope and Description columns. This property is an array of strings, and thus uses the usual array interface: SetAt(), GetAt(), and so on.
-
ValidateUserClass
For allowed values for algorithms for signing, key management, and encryption, the class reference for %OAuth2.JWTOpens in a new tab.