OpenIdMetadata class

Class in charge of manage OpenId metadata.

Constructors

OpenIdMetadata(string)

Initializes a new instance of the OpenIdMetadata class.

Methods

getKey(string)

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.