Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [OAuth2] >  [Server] >  [Metadata]
Private  Storage   

persistent class OAuth2.Server.Metadata extends %Persistent, OAuth2.Metadata

Authorization Server metadata as specified by OpenID Connect Discovery.
OPTIONAL, REQUIRED and RECOMMENDED in the property descriptions below refer to optional/required/recommended by the OpenID Connect specifications.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
40


Summary

Properties
access_token_encryption_alg_values_supported access_token_encryption_enc_values_supported access_token_signing_alg_values_supported
acr_values_supported authorization_endpoint claim_types_supported
claims_locales_supported claims_parameter_supported claims_supported
display_values_supported grant_types_supported id_token_encryption_alg_values_supported
id_token_encryption_enc_values_supported id_token_signing_alg_values_supported introspection_endpoint
issuer jwks_uri op_policy_uri
op_tos_uri registration_endpoint request_object_encryption_alg_values_supported
request_object_encryption_enc_values_supported request_object_signing_alg_values_supported request_parameter_supported
request_uri_parameter_supported require_request_uri_registration response_modes_supported
response_types_supported revocation_endpoint scopes_supported
service_documentation subject_types_supported token_endpoint
token_endpoint_auth_methods_supported token_endpoint_auth_signing_alg_values_supported ui_locales_supported
userinfo_encryption_alg_values_supported userinfo_encryption_enc_values_supported userinfo_endpoint
userinfo_signing_alg_values_supported

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject


Properties

• property access_token_encryption_alg_values_supported as %List;
ADDITIONAL. An array, which is represented as a $list, containing a list of the JWE encryption algorithms (alg values) supported for access token returned as a JWT to encode the Claims in a JWT.
• property access_token_encryption_enc_values_supported as %List;
ADDITIONAL. An array, which is represented as a $list, containing a list of the JWE encryption algorithms (enc values) supported for access token returned as a JWT to encode the Claims in a JWT.
• property access_token_signing_alg_values_supported as %List;
ADDITIONAL. An array, which is represented as a $list, containing a list of the JWS signing algorithms (alg values) supported for access token returned as a JWT to encode the Claims in a JWT. The value none MAY be included.
• property acr_values_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the Authentication Context Class References that this OP supports.
This property is currently not supported and is ignored during registration.
• property authorization_endpoint as %OAuth2.uri;
REQUIRED. URL of the OP's OAuth 2.0 Authorization Endpoint.
• property claim_types_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core. Values defined by this specification are normal, aggregated, and distributed.
This property is currently not supported and is ignored during registration. If omitted, the implementation supports only normal Claims.
• property claims_locales_supported as %List;
OPTIONAL. Languages and scripts supported for values in Claims being returned as an array, which is represented as a $list, of RFC5646 language tag values. Not all languages and scripts are necessarily supported for all Claim values.
This property is currently not supported and is ignored during registration.
• property claims_parameter_supported as %Boolean;
OPTIONAL. Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false.
• property claims_supported as %List;
RECOMMENDED. An array, which is represented as a $list, containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list.
• property display_values_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the display parameter values that the OpenID Provider supports. These values are described in Section 3.1.2.1 of OpenID Connect Core.
This property is currently not supported and is ignored during registration.
• property grant_types_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"].
• property id_token_encryption_alg_values_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT.
• property id_token_encryption_enc_values_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT.
• property id_token_signing_alg_values_supported as %List;
REQUIRED. An array, which is represented as a $list, containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such As when using the Authorization Code Flow).
• property introspection_endpoint as %OAuth2.uri;
ADDITIONAL. OAuth 2.0 introspection endpoint as defined by RFC 7662
• property issuer as %OAuth2.uri;
REQUIRED. URL using the https scheme with no query or fragment component that the OP asserts as its Issuer Identifier. This also MUST be identical to the iss Claim value in ID Tokens issued from this Issuer.
• property jwks_uri as %OAuth2.uri;
REQUIRED. URL of the OP's JSON Web Key Set document. This contains the signing key(s) the RP uses to validate signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs to encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED," As it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate.
• property op_policy_uri as %OAuth2.uri;
OPTIONAL. URL that the OpenID Provider provides to the person registering the Client to read about the OP's requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given.
• property op_tos_uri as %OAuth2.uri;
OPTIONAL. URL that the OpenID Provider provides to the person registering the Client to read about OpenID Provider's terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given.
• property registration_endpoint as %OAuth2.uri;
RECOMMENDED. URL of the OP's Dynamic Client Registration Endpoint.
• property request_object_encryption_alg_values_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference.
• property request_object_encryption_enc_values_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference.
• property request_object_signing_alg_values_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256.
• property request_parameter_supported as %Boolean;
OPTIONAL. Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false.
• property request_uri_parameter_supported as %Boolean;
OPTIONAL. Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is true.
• property require_request_uri_registration as %Boolean;
OPTIONAL. Boolean value specifying whether the OP requires any request_uri values used to be preregistered using the request_uris registration parameter. Preregistration is REQUIRED when the value istrue. If omitted, the default value is false.
This property is currently not supported and is ignored during registration.
• property response_modes_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"].
• property response_types_supported as %List;
REQUIRED. An array, which is represented as a $list, containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values.
• property revocation_endpoint as %OAuth2.uri;
ADDITIONAL. OAuth 2.0 revocation endpoint as defined by RFC 7009
• property scopes_supported as %List;
RECOMMENDED. An array, which is represented as a $list, containing a list of the RFC6749 scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in SHOULD be listed, if supported.
• property service_documentation as %OAuth2.uri;
OPTIONAL. URL of a page containing humanreadable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation.
• property subject_types_supported as %List;
REQUIRED. An array, which is represented as a $list, containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public.
This property is currently not supported and is ignored during registration.
• property token_endpoint as %OAuth2.uri;
URL of the OP's OAuth 2.0 Token Endpoint. This is REQUIRED unless only the Implicit Flow is used.
• property token_endpoint_auth_methods_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core. If omitted, the default is client_secret_basic the HTTP Basic Authentication Scheme specified in Section 2.3.1 of RFC6749.
• property token_endpoint_auth_signing_alg_values_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. These JWS algorithms are also used to sign the JWT used for JWT Auhtorization grant. Servers SHOULD support RS256. The value none MUST NOT be used.
• property ui_locales_supported as %List;
OPTIONAL. Languages and scripts supported for the user interface, represented as an array, which is represented as a $list, of RFC5646 language tag values.
This property is currently not supported and is ignored during registration.
• property userinfo_encryption_alg_values_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the JWE encryption algorithms (alg values) supported by the UserInfo Endpoint to encode the Claims in a JWT.
• property userinfo_encryption_enc_values_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the JWE encryption algorithms (enc values) supported by the UserInfo Endpoint to encode the Claims in a JWT.
• property userinfo_endpoint as %OAuth2.uri;
RECOMMENDED. URL of the OP's UserInfo Endpoint. This URL MUST use the https scheme and MAY contain port, path, and query parameter components.
• property userinfo_signing_alg_values_supported as %List;
OPTIONAL. An array, which is represented as a $list, containing a list of the JWS signing algorithms (alg values) supported by the UserInfo Endpoint to encode the Claims in a JWT. The value none MAY be included.


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.