Skip to main content

MoveAuthenticator

type MoveAuthenticator​

MoveAuthenticator is a signature variant that enables a method of authentication through Move code. This type represents the data received by the Move authenticate function during the Account Abstraction authentication flow.

BCS​

The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-types/bcs-schema.abnf\).

type MoveAuthenticator struct {
// contains filtered or unexported fields
}

func LiftFromExternalMoveAuthenticator​

func LiftFromExternalMoveAuthenticator(handle uint64) *MoveAuthenticator

func MoveAuthenticatorNewV1​

func MoveAuthenticatorNewV1(moveAuthenticatorV1 *MoveAuthenticatorV1) *MoveAuthenticator

func (*MoveAuthenticator) AsV1​

func (_self *MoveAuthenticator) AsV1() *MoveAuthenticatorV1

Convert this move authenticator into a version 1 move authenticator if it is one, or panic otherwise

func (*MoveAuthenticator) Destroy​

func (object *MoveAuthenticator) Destroy()

func (*MoveAuthenticator) ToDisplayString​

func (_self *MoveAuthenticator) ToDisplayString() string

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.