Developer Guide

identity/claims/attestation-service-url

Index

Type aliases

Variables

Functions

Type aliases

AttestationServiceURLClaim

Ƭ AttestationServiceURLClaim: t.TypeOf‹typeof AttestationServiceURLClaimType›

Defined in contractkit/src/identity/claims/attestation-service-url.ts:19

Variables

Const AttestationServiceURLClaimType

AttestationServiceURLClaimType: TypeC‹object› = t.type({ type: t.literal(ClaimTypes.ATTESTATION_SERVICE_URL), timestamp: TimestampType, url: UrlType, })

Defined in contractkit/src/identity/claims/attestation-service-url.ts:13

Functions

Const createAttestationServiceURLClaim

createAttestationServiceURLClaim(url: string): AttestationServiceURLClaim

Defined in contractkit/src/identity/claims/attestation-service-url.ts:21

Parameters:

Name

Type

url

string

Returns: AttestationServiceURLClaim

validateAttestationServiceUrl

validateAttestationServiceUrl(kit: ContractKit, claim: AttestationServiceURLClaim, address: Address): Promise‹string | undefined›

Defined in contractkit/src/identity/claims/attestation-service-url.ts:27

Parameters:

Name

Type

kit

ContractKit

claim

AttestationServiceURLClaim

address

Address

Returns: Promise‹string | undefined›