api_entities_AuthorizationRequest.AuthorizationRequest
Last updated
Was this helpful?
Last updated
Was this helpful?
/ / / AuthorizationRequest
.AuthorizationRequest
Represents a request made by an Identity to another Identity (or Account) for some sort of authorization. This has multiple uses. For example, if Alice wants to transfer ownership of one of her Assets to Bob, this method emits an authorization request for Bob, who then has to accept it in order to complete the ownership transfer
<, HumanReadable
>
↳ AuthorizationRequest
• authId: BigNumber
internal identifier for the Request (used to accept/reject/cancel)
Defined in
Authorization Request data corresponding to type of Authorization
Add Relayer Paying Key
Beneficiary, Relayer, Allowance
Become Agent
Permission Group
Attest Primary Key Rotation
DID
Rotate Primary Key
N/A
Rotate Primary Key to Secondary
Permissions
Transfer Ticker
Ticker
Add MultiSig Signer
Account
Transfer Asset Ownership
Ticker
Join Identity
Permissions
Portfolio Custody
Portfolio
Defined in
• expiry: null
| Date
date at which the Authorization Request expires and can no longer be accepted. At this point, a new Authorization Request must be emitted. Null if the Request never expires
Defined in
Identity that emitted the request
Defined in
Identity or Account to which the request was emitted
Defined in
• uuid: string
Inherited from
Defined in
â–¸ accept(opts?
): Promise
<TransactionQueue
<void
, void
, unknown
[][]>>
Accept the Authorization Request. You must be the target of the Request to be able to accept it
Parameters
opts?
Returns
Promise
<TransactionQueue
<void
, void
, unknown
[][]>>
Defined in
â–¸ exists(): Promise
<boolean
>
Determine whether this Authorization Request exists on chain
Returns
Promise
<boolean
>
Overrides
Defined in
â–¸ isEqual(entity
): boolean
Determine whether this Entity is the same as another one
Parameters
entity
Returns
boolean
Inherited from
Defined in
â–¸ isExpired(): boolean
Returns whether the Authorization Request has expired
Returns
boolean
Defined in
â–¸ remove(opts?
): Promise
<TransactionQueue
<void
, void
, unknown
[][]>>
Remove the Authorization Request
If you are the Request issuer, this will cancel the Authorization
If you are the Request target, this will reject the Authorization
Parameters
opts?
Returns
Promise
<TransactionQueue
<void
, void
, unknown
[][]>>
Defined in
â–¸ toHuman(): HumanReadable
Return the Authorization's static data
Returns
HumanReadable
Overrides
Defined in
â–¸ Static
generateUuid<Identifiers
>(identifiers
): string
Generate the Entity's UUID from its identifying properties
Type parameters
Identifiers
Parameters
identifiers
Identifiers
Returns
string
Inherited from
Defined in
â–¸ Static
unserialize<Identifiers
>(serialized
): Identifiers
Unserialize a UUID into its Unique Identifiers
Type parameters
Identifiers
Parameters
serialized
string
UUID to unserialize
Returns
Identifiers
Inherited from
Defined in
• data:
• issuer:
• target:
.
note
this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it
.
<unknown
, unknown
>
.
note
this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it
.
.
.