@@ -20,48 +20,13 @@ authentication provider. Instantiate a ``Credentials`` object and pass
20
20
it to the ``app.login()`` method to authenticate a user and create a ``User``
21
21
object. Each authentication provider corresponds to a method used to
22
22
instantiate ``Credentials`` objects using that authentication provider.
23
- See the table below to find the method that instantiates the
24
- ``Credentials`` instance for your authentication provider:
25
-
26
- .. list-table::
27
- :header-rows: 1
28
- :widths: 50 50
29
-
30
- * - Authentication Provider
31
- - Credentials Generation Method
32
-
33
- * - :ref:`Anonymous <ios-login-anonymous>`
34
- - ``Credentials.anonymous()``
35
-
36
- * - :ref:`Email/Password <ios-login-email-password>`
37
- - ``Credentials(email: String, password: String)``
38
-
39
- * - :ref:`API Key <ios-login-api-key>`
40
- - ``Credentials(userAPIKey: String)``
41
-
42
- * - :ref:`Custom Function <ios-login-custom-function>`
43
- - ``Credentials(functionPayload: [AnyHashable : Any], error: NSErrorPointer)``
44
-
45
- * - :ref:`Custom JWT <ios-login-custom-jwt>`
46
- - ``Credentials(jwt: String)``
47
-
48
- * - :ref:`Google OAuth <ios-login-google>`
49
- - ``Credentials(googleAuthCode: String)``
50
-
51
- * - :ref:`Facebook OAuth <ios-login-facebook>`
52
- - ``Credentials(facebookToken: String)``
53
-
54
- * - :ref:`Sign-in With Apple <ios-login-apple>`
55
- - ``Credentials(appleToken: String)``
56
-
57
23
58
24
Before you can authenticate a user, ensure you have:
59
25
60
26
- :ref:`Created a {+app+} <create-a-realm-app>`
61
27
- Enabled one or more :ref:`authentication providers <authentication-providers>`
62
28
- :ref:`Installed the iOS SDK <ios-install>`
63
29
64
-
65
30
Log In
66
31
------
67
32
0 commit comments