Static
anonymousOptional
reuse: booleanReuse any existing anonymous user already logged in.
An instance of Credentials
that can be used in App.logIn.
Static
apiCreates credentials from an API key.
A string identifying the API key.
An instance of Credentials
that can be used in App.logIn.
Static
appleCreates credentials based on an Apple login.
An Apple authentication token, obtained by logging into Apple.
An instance of Credentials
that can be used in App.logIn.
Static
emailCreates credentials based on a login with an email address and a password.
An instance of Credentials
that can be used in App.logIn.
Static
facebookCreates credentials based on a Facebook login.
A Facebook authentication token, obtained by logging into Facebook.
An instance of Credentials
that can be used in App.logIn.
Static
functionCreates credentials with an Atlas App Services function and user identifier.
An object identifying the user. Usually an identity token or a username.
An instance of Credentials
that can be used in App.logIn.
Static
googleCreates credentials based on a Google login.
An object with either an authCode
or idToken
property.
An instance of Credentials
that can be used in App.logIn.
Static
jwtCreates credentials with a JSON Web Token (JWT) provider and user identifier.
A string identifying the user. Usually an identity token or a username.
An instance of Credentials
that can be used in App.logIn.
Generated using TypeDoc
Creates credentials for an anonymous user. These can only be used once - using them a second time will result in a different user being logged in. If you need to get a user that has already logged in with the Anonymous credentials, use App.currentUser or App.allUsers.