Skip to main content

README

@hyperledger/identus-sdk v7.0.0


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

plugins/internal/oidc

This export contains the OIDC plugin for the Identus SDK Please use the following export

How to use

Typescript / esmodules

import * as OIDC from "@hyperledger/identus-sdk/plugins/oidc";

Or with cjs modules

const OIDC = require("@hyperledger/identus-sdk/plugins/oidc");

Namespaces

NamespaceDescription
Protocols-

Classes

ClassDescription
AuthorizationRequest-
AuthorizationResponse-
CreateAuthorizationRequestmanage the creation of an Authorization Request
CreateCredentialRequestcreate a CredentialRequest for the given offer a connection with the relevant Issuer must have already been established
CredentialRequest-
FetchAuthServerMetatry to retrieve Authorization Server Metadata from the give URI /.well-known/openid-configuration will be appended to the URI
FetchIssuerMetadatatry to retrieve Issuer Metadata from the given URI /.well-known/openid-credential-issuer will be appended to the uri
OIDCConnectionDefine the structure of a Connection
OIDCModulehttps://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html
ParseCredentialOffervalidates the offer is correctly formed OIDC Credential Offer returns the offer Typed as such
ProcessCallbackUrlA Task encapsulates a unit of work
ResolveAuthorizationRequestOIDC Convenience Task Credential Offer to Authorization Request
ResolveCredentialRequestOIDC Convenience Task Credential Offer to issued Credential
ResolveTokenRequestOIDC Convenience Task CallbackUrl to established Connection
TokenRequest-

Interfaces

InterfaceDescription
AuthorizationRequestMetadata-
CreateAuthorizationRequestArgs-
CreateCredentialRequestArgs-
FetchAuthServerMetaArgs-
FetchIssuerMetadataArgs-
ParseCredentialOfferArgsattempt to extract a Credential Offer from the given value
ProcessCallbackUrlArgs-
ResolveAuthorizationRequestArgs-
ResolveCredentialRequestArgs-
ResolveTokenRequestArgs-

Type Aliases

Type AliasDescription
AuthServerMetadata-
Context-
CredentialOffer-
IssuerMetadata-
Modules-
TokenResponse-

Variables

VariableDescription
AuthServerMetadata-
CredentialOffer-
IssuerMetadata-
plugin-
TokenResponse-