Skip to main content

MoveAuthenticator

MoveAuthenticator​

class 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.

asV1()​

func asV1() -> MoveAuthenticatorV1

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

toDisplayString()​

func 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.

newV1(moveAuthenticatorV1:)​

static func newV1(moveAuthenticatorV1: MoveAuthenticatorV1) -> MoveAuthenticator