AccountsClientMagicLink

@accounts/client-magic-linkGlobalsAccountsClientMagicLink

Hierarchy

  • AccountsClientMagicLink

Index

Constructors

Methods

Constructors

constructor

+ new AccountsClientMagicLink(client: AccountsClient): AccountsClientMagicLink

Defined in client-magic-link.ts:5

Parameters:

NameType
clientAccountsClient

Returns: AccountsClientMagicLink

Methods

login

login(user: LoginUserMagicLinkService): Promise‹LoginResult›

Defined in client-magic-link.ts:17

Log the user in with a token.

Parameters:

NameType
userLoginUserMagicLinkService

Returns: Promise‹LoginResult›


requestMagicLinkEmail

requestMagicLinkEmail(email: string): Promise‹void›

Defined in client-magic-link.ts:25

Request a new login link.

Parameters:

NameTypeDescription
emailstringThe email address to send a login link.

Returns: Promise‹void›