api property
An instance of AuthenticationApi, the primary interface for interacting with the Auth0 Authentication API
Usage example:
final auth0 = Auth0('DOMAIN', 'CLIENT_ID');
final result = await auth0.api.login({
usernameOrEmail: 'my@email.com',
password: 'my_password'
connectionOrRealm: 'Username-Password-Authentication'
});
final accessToken = result.accessToken;
Implementation
AuthenticationApi get api => AuthenticationApi(_account, _userAgent);