Type aliases
ClientCredentials
Defined in src/token.ts:481
EthTokenProviderParams
Eth
TokenProviderParams: SelfSignedTokenProviderParams & EthTokenSigner
Defined in src/token.ts:299
EthTokenSigner
EthTokenSigner: { ethProviderUsingAccountIndex: number } | { signMessage: any }
Defined in src/token.ts:300
IdentityTokenClaims
IdentityTokenClaims: { iss: string ; sub: string }
Defined in src/token.ts:473
PrivateES256JWK
PrivateES256JWK: BaseJWK & { alg: "ES256" ; crv: "P-256" ; d: string ; kty: "EC" ; x: string ; y: string }
Defined in src/token.ts:460
PrivateJWK
Defined in src/token.ts:471
PublicES256JWK
Defined in src/token.ts:468
PublicJWK
Defined in src/token.ts:470
RefreshingTokenProviderParams
RefreshingTokenProviderParams: { audience: string ; refreshToken: string ; tokenEndpoint: string }
Defined in src/token.ts:198
Type declaration
audience: string
refreshToken: string
tokenEndpoint: string
RenewingTokenProviderParams
Renewing
TokenProviderParams: { audience?: string ; clientId: string ; privateKey: PrivateJWK ; scopes?: string [] ; tokenEndpoint?: string }
Defined in src/token.ts:114
Type declaration
Optional audience?: string
clientId: string
Optional scopes?: string []
Optional tokenEndpoint?: string
Scope
Scope: "parcel.full" | "parcel.safe" | "parcel.public"
Defined in src/token.ts:56
SelfIssuedTokenProviderParams
Self
IssuedTokenProviderParams: SelfSignedTokenProviderParams & { privateKey: PrivateJWK }
Defined in src/token.ts:252
TokenSource
Defined in src/token.ts:79
Parameters of a token provider that signs its own access tokens using
eth_personalSign
.