OAuth2.ResourceServer.Metadata
persistent class OAuth2.ResourceServer.Metadata extends %Library.Persistent, OAuth2.Metadata, %XML.Adaptor, %SYSTEM.Help
SQL Table Name: OAuth2_ResourceServer.Metadata
Property Inventory
- authorization_servers
- bearer_methods_supported
- resource
- resource_documentation
- resource_name
- resource_policy_uri
- resource_tos_uri
- scopes_supported
Parameters
parameter RESOURCEREQUIRED;
To match OAuth2.ResourceServer
Properties
property authorization_servers as %List;
OPTIONAL. A list of OAuth authorization server issuer
identifiers, as defined in [RFC8414], for authorization servers that can be
used with this protected resource. Protected resources MAY choose not to
advertise some supported authorization servers even when this parameter is
used. In some use cases, the set of authorization servers will not be
enumerable, in which case this metadata parameter would not be used.
In IRIS, this value is set to the issuer endpoint of the associated
server definition. It will automatically update when the server definition
is changed, unless previously obscured. Set this value to null to obscure
the value.
Property methods: authorization_serversGet(), authorization_serversGetStored(), authorization_serversIsValid(), authorization_serversLogicalToOdbc(), authorization_serversLogicalToXSD(), authorization_serversOdbcToLogical(), authorization_serversSet(), authorization_serversXSDToLogical()
property bearer_methods_supported as %List [ InitialExpression = $lb("header") ];
OPTIONAL. A list of the supported methods
of sending an OAuth 2.0 bearer token [RFC6750] to the protected
resource. Defined values are ["header", "body", "query"],
corresponding to Sections 2.1, 2.2, and 2.3 of [RFC6750]. The
empty array [] can be used to indicate that no bearer methods are
supported. If this entry is omitted, no default bearer methods
supported are implied, nor does its absence indicate that they are
not supported.
In IRIS, this is fixed as "header"
Property methods: bearer_methods_supportedGet(), bearer_methods_supportedGetStored(), bearer_methods_supportedIsValid(), bearer_methods_supportedLogicalToOdbc(), bearer_methods_supportedLogicalToXSD(), bearer_methods_supportedOdbcToLogical(), bearer_methods_supportedSet(), bearer_methods_supportedXSDToLogical()
property resource as %String);
REQUIRED. The protected resource's resource identifier.
Property methods: resourceDisplayToLogical(), resourceGet(), resourceGetStored(), resourceIsValid(), resourceLogicalToDisplay(), resourceLogicalToOdbc(), resourceNormalize(), resourceSet()
property resource_documentation as %OAuth2.uri;
OPTIONAL. URL of a page containing human-readable information
that developers might want or need to know when using the
protected resource. The value of this field MAY be
internationalized.
Property methods: resource_documentationDisplayToLogical(), resource_documentationGet(), resource_documentationGetStored(), resource_documentationIsValid(), resource_documentationLogicalToDisplay(), resource_documentationLogicalToOdbc(), resource_documentationNormalize(), resource_documentationSet()
property resource_name as %String [ Transient ];
Human-readable name of the protected resource intended for display
to the end user. It is RECOMMENDED that protected resource
metadata include this field. The value of this field MAY be
internationalized.
In IRIS, users can set this value by setting the
%OAuth2.ResourceServer.REST::DISPLAYNAME value
Property methods: resource_nameDisplayToLogical(), resource_nameGet(), resource_nameIsValid(), resource_nameLogicalToDisplay(), resource_nameLogicalToOdbc(), resource_nameNormalize(), resource_nameSet()
property resource_policy_uri as %OAuth2.uri;
OPTIONAL. URL of a page containing human-readable information
about the protected resource's requirements on how the client can
use the data provided by the protected resource. The value of
this field MAY be internationalized.
Property methods: resource_policy_uriDisplayToLogical(), resource_policy_uriGet(), resource_policy_uriGetStored(), resource_policy_uriIsValid(), resource_policy_uriLogicalToDisplay(), resource_policy_uriLogicalToOdbc(), resource_policy_uriNormalize(), resource_policy_uriSet()
property resource_tos_uri as %OAuth2.uri;
OPTIONAL. URL of a page containing human-readable information
about the protected resource's terms of service. The value of
this field MAY be internationalized.
Property methods: resource_tos_uriDisplayToLogical(), resource_tos_uriGet(), resource_tos_uriGetStored(), resource_tos_uriIsValid(), resource_tos_uriLogicalToDisplay(), resource_tos_uriLogicalToOdbc(), resource_tos_uriNormalize(), resource_tos_uriSet()
property scopes_supported as %List;
RECOMMENDED. A list of scope values, as
defined in OAuth 2.0 [RFC6749], that are used in authorization
requests to request access to this protected resource. Protected
resources MAY choose not to advertise some scope values supported
even when this parameter is used.
In IRIS, this value is set to the "scopes_supported" value in the
corresponding Resource Server's authenticator object
Property methods: scopes_supportedGet(), scopes_supportedGetStored(), scopes_supportedIsValid(), scopes_supportedLogicalToOdbc(), scopes_supportedLogicalToXSD(), scopes_supportedOdbcToLogical(), scopes_supportedSet(), scopes_supportedXSDToLogical()
Indexes
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildDeferred()
- %BuildDeferredBitString()
- %BuildDeferredRecord()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %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()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- Help()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()