IdentityAuthorizations
Handles all Identity Authorization related functionality
Hierarchy
↳ IdentityAuthorizations
Index
Properties
Methods
Properties
Protected context
Protected context• context: Context
Inherited from void
Defined in src/api/entities/Namespace.ts:11
Protected parent
Protected parent• parent: Identity
Inherited from void
Defined in src/api/entities/Namespace.ts:9
Methods
getOne
▸ getOne(args: object): Promise‹AuthorizationRequest›
Inherited from Authorizations.getOne
Defined in src/api/entities/common/namespaces/Authorizations.ts:65
Retrieve a single Authorization Request targeting this Signer by its ID
throws if there is no Authorization Request with the passed ID targeting this Signer
Parameters:
▪ args: object
id
BigNumber
Returns: Promise‹AuthorizationRequest›
getReceived
▸ getReceived(opts?: undefined | object): Promise‹AuthorizationRequest[]›
Inherited from Authorizations.getReceived
Defined in src/api/entities/common/namespaces/Authorizations.ts:29
Fetch all pending Authorization Requests for which this Signer is the target
Parameters:
opts?
undefined | object
Returns: Promise‹AuthorizationRequest[]›
getSent
▸ getSent(paginationOpts?: PaginationOptions): Promise‹ResultSet‹AuthorizationRequest››
Defined in src/api/entities/Identity/IdentityAuthorizations.ts:18
Fetch all pending authorization requests issued by this Identity
note supports pagination
Parameters:
paginationOpts?
Returns: Promise‹ResultSet‹AuthorizationRequest››
Last updated
Was this helpful?