Skip to main content

FetchIssuerMetadata

@hyperledger/identus-sdk v7.0.0


@hyperledger/identus-sdk / plugins/internal/oidc / FetchIssuerMetadata

Class: FetchIssuerMetadata

Defined in: src/plugins/internal/oidc/tasks/FetchIssuerMetadata.ts:18

try to retrieve Issuer Metadata from the given URI /.well-known/openid-credential-issuer will be appended to the uri

See

OIDC Issuer Metadata

Param

Extends

Constructors

Constructor

new FetchIssuerMetadata(...args: [FetchIssuerMetadataArgs]): FetchIssuerMetadata

Defined in: src/utils/tasks.ts:18

Parameters

ParameterTypeDescription
...args[FetchIssuerMetadataArgs]

Returns

FetchIssuerMetadata

Inherited from

Task.constructor

Methods

log()

log(): unknown

Defined in: src/utils/tasks.ts:26

Returns

unknown

Inherited from

Task.log


run()

run(ctx: Context): Promise<{ authorization_servers?: string[]; batch_credential_endpoint?: string; credential_configurations_supported: {[key: string]: { credential_definition: { credentialSubject?: { }; type: string[]; }; credential_signing_alg_values_supported?: string[]; cryptographic_binding_methods_supported?: string[]; format: string; proof_types_supported?: {[key: string]: { proof_signing_alg_values_supported: string[]; }; }; scope?: string; }; }; credential_endpoint: string; credential_identifiers_supported?: boolean; credential_issuer: string; credential_response_encryption?: { alg_values_supported: string[]; enc_values_supported: string[]; encryption_required: boolean; }; deferred_credential_endpoint?: string; display?: { }; notification_endpoint?: string; signed_metadata?: string; }>

Defined in: src/plugins/internal/oidc/tasks/FetchIssuerMetadata.ts:19

Parameters

ParameterType
ctxContext

Returns

Promise<{ authorization_servers?: string[]; batch_credential_endpoint?: string; credential_configurations_supported: {[key: string]: { credential_definition: { credentialSubject?: { }; type: string[]; }; credential_signing_alg_values_supported?: string[]; cryptographic_binding_methods_supported?: string[]; format: string; proof_types_supported?: {[key: string]: { proof_signing_alg_values_supported: string[]; }; }; scope?: string; }; }; credential_endpoint: string; credential_identifiers_supported?: boolean; credential_issuer: string; credential_response_encryption?: { alg_values_supported: string[]; enc_values_supported: string[]; encryption_required: boolean; }; deferred_credential_endpoint?: string; display?: { }; notification_endpoint?: string; signed_metadata?: string; }>

Overrides

Task.run