Skip to main content

MoveAuthenticator

MoveAuthenticator Objects​

class MoveAuthenticator(MoveAuthenticatorProtocol)

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.

as_v1​

def as_v1() -> MoveAuthenticatorV1

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

to_display_string​

def to_display_string() -> str

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.