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
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
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
Returns
Promise
<ResultSet
<AuthorizationRequest
>>
Defined in
Last updated