FetchIssuerMetadata
@hyperledger/identus-sdk v8.0.0
@hyperledger/identus-sdk / plugins/internal/oidc / FetchIssuerMetadata
Class: FetchIssuerMetadata
Defined in: packages/lib/sdk/src/plugins/internal/oidc/tasks/FetchIssuerMetadata.ts:19
try to retrieve Issuer Metadata from the given URI
/.well-known/openid-credential-issuer will be appended to the uri
See
Param
Extends
Constructors
Constructor
new FetchIssuerMetadata(...
args: [FetchIssuerMetadataArgs]):FetchIssuerMetadata
Defined in: packages/lib/sdk/src/utils/tasks.ts:18
Parameters
| Parameter | Type | Description |
|---|---|---|
...args | [FetchIssuerMetadataArgs] | - |
Returns
FetchIssuerMetadata
Inherited from
Task<IssuerMetadata, FetchIssuerMetadataArgs>.constructor
Methods
log()
log():
unknown
Defined in: packages/lib/sdk/src/utils/tasks.ts:27
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: packages/lib/sdk/src/plugins/internal/oidc/tasks/FetchIssuerMetadata.ts:20
Parameters
| Parameter | Type |
|---|---|
ctx | Context |
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