api_entities_Identity_IdentityAuthorizations.IdentityAuthorizations
@polymeshassociation/polymesh-sdk / Modules / api/entities/Identity/IdentityAuthorizations / IdentityAuthorizations
Class: IdentityAuthorizations
api/entities/Identity/IdentityAuthorizations.IdentityAuthorizations
Handles all Identity Authorization related functionality
Hierarchy
↳
IdentityAuthorizations
Table of contents
Methods
Methods
getOne
▸ getOne(args
): Promise
<AuthorizationRequest
>
Retrieve a single Authorization Request targeting or issued by this Identity by its ID
throws
if there is no Authorization Request with the passed ID targeting or issued by this Identity
Parameters
args
Object
args.id
BigNumber
Returns
Promise
<AuthorizationRequest
>
Overrides
Defined in
api/entities/Identity/IdentityAuthorizations.ts:62
getReceived
▸ getReceived(opts?
): Promise
<AuthorizationRequest
[]>
Fetch all pending Authorization Requests for which this Signer is the target
Parameters
opts?
Object
-
opts.includeExpired?
boolean
whether to include expired authorizations. Defaults to true
Returns
Promise
<AuthorizationRequest
[]>
Inherited from
Defined in
api/entities/common/namespaces/Authorizations.ts:29
getSent
▸ getSent(paginationOpts?
): Promise
<ResultSet
<AuthorizationRequest
>>
Fetch all pending authorization requests issued by this Identity
note
supports pagination
Parameters
paginationOpts?
Returns
Promise
<ResultSet
<AuthorizationRequest
>>
Defined in
Last updated