OpenIdMetadata class
Class in charge of manage OpenId metadata.
Constructors
Open |
Initializes a new instance of the OpenIdMetadata class. |
Methods
get |
Gets the Signing key. |
Constructor Details
OpenIdMetadata(string)
Initializes a new instance of the OpenIdMetadata class.
new OpenIdMetadata(url: string)
Parameters
- url
-
string
Metadata Url.
Method Details
getKey(string)
Gets the Signing key.
function getKey(keyId: string): Promise<IOpenIdMetadataKey | null>
Parameters
- keyId
-
string
The key ID to search for.
Returns
Promise<IOpenIdMetadataKey | null>
A Promise
representation for either a IOpenIdMetadataKey or null
.