CredentialRequest
@hyperledger/identus-sdk v8.0.0
@hyperledger/identus-sdk / plugins/internal/oidc / CredentialRequest
Class: CredentialRequest
Defined in: packages/lib/sdk/src/plugins/internal/oidc/protocols/CredentialRequest.ts:5
Extends
Constructors
Constructor
new CredentialRequest(
endpoint:string|URL,body:JsonObj):CredentialRequest
Defined in: packages/lib/sdk/src/plugins/internal/oidc/protocols/CredentialRequest.ts:8
Parameters
| Parameter | Type |
|---|---|
endpoint | string | URL |
body | JsonObj |
Returns
CredentialRequest
Overrides
Properties
| Property | Modifier | Type | Default value | Inherited from | Defined in |
|---|---|---|---|---|---|
body? | public | string | JsonObj<any> | undefined | ApiRequest.body | packages/shared/domain/build/index.d.ts:221 |
headers | readonly | Headers | undefined | ApiRequest.headers | packages/shared/domain/build/index.d.ts:218 |
method | public | HttpMethod | undefined | ApiRequest.method | packages/shared/domain/build/index.d.ts:220 |
params | readonly | URLSearchParams | undefined | ApiRequest.params | packages/shared/domain/build/index.d.ts:219 |
ProtocolId | readonly | "OIDC_V1/CREDENTIAL_REQUEST" | Protocols.CredentialRequest | - | packages/lib/sdk/src/plugins/internal/oidc/protocols/CredentialRequest.ts:6 |
url | readonly | URL | undefined | ApiRequest.url | packages/shared/domain/build/index.d.ts:217 |