Skip to main content

ResolveAuthorizationRequestArgs

@hyperledger/identus-sdk v7.0.0


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

Interface: ResolveAuthorizationRequestArgs

Defined in: src/plugins/internal/oidc/connection/ResolveAuthorizationRequest.ts:10

Properties

PropertyTypeDescriptionDefined in
clientIdstring-src/plugins/internal/oidc/connection/ResolveAuthorizationRequest.ts:12
offer{ credential_configuration_ids: string[]; credential_issuer: string; grants?: { authorization_code?: { authorization_server?: string; issuer_state?: string; }; urn:ietf:params:oauth:grant-type:pre-authorized_code?: { authorization_server?: string; interval?: number; pre-authorized_code: string; tx_code?: { description?: string; input_mode?: string; length?: number; }; }; }; }-src/plugins/internal/oidc/connection/ResolveAuthorizationRequest.ts:11
offer.credential_configuration_idsstring[]array of unique strings that each identify one of the keys in name/value pairs stored in the credential_configurations_supported Credential Issuer Metadatasrc/plugins/internal/oidc/types.ts:25
offer.credential_issuerstringurl of the Credential Issuer from which the wallet is requested to obtain one or more Credentials the Wallet uses it to obtain the Credential Issuer's Metadatasrc/plugins/internal/oidc/types.ts:20
offer.grants?{ authorization_code?: { authorization_server?: string; issuer_state?: string; }; urn:ietf:params:oauth:grant-type:pre-authorized_code?: { authorization_server?: string; interval?: number; pre-authorized_code: string; tx_code?: { description?: string; input_mode?: string; length?: number; }; }; }indicates the Grant Types the Authorization Server is prepared to process if grants is nil the Wallet must determine the Grant Types using the Metadata when multiple grants are present, it is at the Wallets discretion which to usesrc/plugins/internal/oidc/types.ts:31
offer.grants.authorization_code?{ authorization_server?: string; issuer_state?: string; }-src/plugins/internal/oidc/types.ts:32
offer.grants.authorization_code.authorization_server?stringcan be used to identify the Authorization Server to use with this grant type when authorization_servers in Issuer Metadata has multiple entriessrc/plugins/internal/oidc/types.ts:43
offer.grants.authorization_code.issuer_state?stringused to bind the Authorization Request with the Credential Issuer to a context if the Wallet decides to use the Authorization Code flow and received this value it must be included in the subsequent Authorization Reqestsrc/plugins/internal/oidc/types.ts:38
offer.grants.urn:ietf:params:oauth:grant-type:pre-authorized_code?{ authorization_server?: string; interval?: number; pre-authorized_code: string; tx_code?: { description?: string; input_mode?: string; length?: number; }; }-src/plugins/internal/oidc/types.ts:46
offer.grants.urn:ietf:params:oauth:grant-type:pre-authorized_code.authorization_server?stringcan be used to identify the Authorization Server to use with this grant type when authorization_servers in Issuer Metadata has multiple entriessrc/plugins/internal/oidc/types.ts:63
offer.grants.urn:ietf:params:oauth:grant-type:pre-authorized_code.interval?numberamount of time in seconds that the Wallet should wait between polling requests to the token endpointsrc/plugins/internal/oidc/types.ts:58
offer.grants.urn:ietf:params:oauth:grant-type:pre-authorized_code.pre-authorized_codestringcode representing the Issuers authorization short lived and single use if the Wallet decides to use the pre-authorized_code flow, this value must be included in the subsequent Token Requestsrc/plugins/internal/oidc/types.ts:53
offer.grants.urn:ietf:params:oauth:grant-type:pre-authorized_code.tx_code?{ description?: string; input_mode?: string; length?: number; }specifies whether the Authorization Server expects a presentation of a Transaction Code along with the Token Requestsrc/plugins/internal/oidc/types.ts:68
offer.grants.urn:ietf:params:oauth:grant-type:pre-authorized_code.tx_code.description?string-src/plugins/internal/oidc/types.ts:71
offer.grants.urn:ietf:params:oauth:grant-type:pre-authorized_code.tx_code.input_mode?string-src/plugins/internal/oidc/types.ts:69
offer.grants.urn:ietf:params:oauth:grant-type:pre-authorized_code.tx_code.length?number-src/plugins/internal/oidc/types.ts:70
redirectUristring-src/plugins/internal/oidc/connection/ResolveAuthorizationRequest.ts:13