Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Identity

Implements

Index

Constructors

constructor

Properties

Private #client

#client: HttpClient

Readonly createdAt

createdAt: Date

The number of seconds since the Unix epoch when this model was created

Readonly id

The model's unique ID.

Readonly tokenVerifiers

tokenVerifiers: IdentityTokenVerifier[]

Methods

delete

  • delete(): Promise<void>
  • Returns Promise<void>

getGrantedPermission

  • Gets a granted permission by id. Useful for checking if a permission has been granted.

    Parameters

    Returns Promise<Permission>

getTokenBalance

grantPermission

linkEthAddr

listGrantedPermissions

  • listGrantedPermissions(filter?: Partial<{ app: AppId }> & Partial<{ pageSize: number; pageToken: string }>): Promise<Page<Permission>>
  • Fetches permissions to which this identity has agreed.

    Parameters

    • Optional filter: Partial<{ app: AppId }> & Partial<{ pageSize: number; pageToken: string }>

    Returns Promise<Page<Permission>>

listLinkedEthAddrs

  • listLinkedEthAddrs(filter?: Partial<{ pageSize: number; pageToken: string }>): Promise<Page<LinkedEthAddr>>
  • Parameters

    • Optional filter: Partial<{ pageSize: number; pageToken: string }>

    Returns Promise<Page<LinkedEthAddr>>

listTokens

  • listTokens(filter?: Partial<{ pageSize: number; pageToken: string }>): Promise<Page<TokenBalance>>
  • Parameters

    • Optional filter: Partial<{ pageSize: number; pageToken: string }>

    Returns Promise<Page<TokenBalance>>

revokePermission

  • Parameters

    Returns Promise<void>

unlinkEthAddr

  • unlinkEthAddr(ethAddr: string): Promise<void>
  • Parameters

    • ethAddr: string

    Returns Promise<void>

update

Generated using TypeDoc