Credentials
Credentials
is an enum representing supported authentication types for Atlas App Services.
Example Usage:
let credentials = Credentials.JWT(token: myToken)
-
Credentials from a Facebook access token.
-
Credentials from a Google serverAuthCode.
-
Credentials from a Google idToken.
-
Credentials from an Apple id token.
-
Credentials from an email and password.
-
Credentials from a JSON Web Token
-
Credentials for an Atlas App Services function using a mongodb document as a json payload. If the json can not be successfully serialised and error will be produced and the object will be nil.
-
Credentials from a user api key.
-
Credentials from a sever api key.
-
Represents anonymous credentials