verifyMagicLink method

Future<CloudAccount> verifyMagicLink(
  1. String token
)

Signs in with the token of a magic link.

Implementation

Future<CloudAccount> verifyMagicLink(String token) async => _adopt(
  await _api.json(
    CloudOperations.verifyMagicLink,
    CloudSession.fromJson,
    body: {'token': token},
    authenticated: false,
  ),
);