Interface: iExchangeSIWBBAuthorizationCodeSuccessResponse<T>
T extends NumberType
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/requests.ts:2064
Extends
Type Parameters
T
T extends NumberType
Properties
access_token
access_token:
string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/requests.ts:2068
The access token to use for the SIWBB request.
access_token_expires_at?
optionalaccess_token_expires_at?:T
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/requests.ts:2074
The time at which the access token expires.
address
address:
string
Defined in: packages/bitbadgesjs-sdk/src/core/blockin.ts:13
The user's address
Inherited from
bitbadgesAddress
bitbadgesAddress:
string
Defined in: packages/bitbadgesjs-sdk/src/core/blockin.ts:22
The converted BitBadges address of params.address. This can be used as the unique identifier for the user (e.g. avoid duplicate sign ins from equivalent 0x and bb1 addresses).
Inherited from
iSiwbbChallenge.bitbadgesAddress
chain
chain:
SupportedChain
Defined in: packages/bitbadgesjs-sdk/src/core/blockin.ts:15
The chain of the address
Inherited from
ownershipRequirements?
optionalownershipRequirements?:AssetConditionGroup<T>
Defined in: packages/bitbadgesjs-sdk/src/core/blockin.ts:17
The ownership requirements for the user
Inherited from
iSiwbbChallenge.ownershipRequirements
refresh_token?
optionalrefresh_token?:string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/requests.ts:2077
The refresh token to use for the SIWBB request.
refresh_token_expires_at?
optionalrefresh_token_expires_at?:T
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/requests.ts:2080
The time at which the refresh token expires.
token_type
token_type:
string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/requests.ts:2071
The token type
verificationResponse?
optionalverificationResponse?:object
Defined in: packages/bitbadgesjs-sdk/src/core/blockin.ts:27
Verification response
errorMessage?
optionalerrorMessage?:string
Returns the response message returned from verification.
success
success:
boolean
Returns whether the current (message, signature) pair is valid and verified (i.e. signature is valid and any assets are owned).