Show / Hide Table of Contents

    Enum Credentials.AuthProvider

    An enum containing the possible authentication providers. These have to manually be enabled for your app before they can be used.

    Namespace: Realms.Sync
    Assembly: Realm.dll
    Syntax
    public enum AuthProvider

    Fields

    Name Description
    Anonymous

    Mechanism for authenticating without credentials.

    ApiKey

    Mechanism for logging in with API keys generated by the client SDK.

    Apple

    OAuth2-based mechanism for logging in with an Apple ID.

    EmailPassword

    Mechanism for authenticating with an email and a password.

    Facebook

    OAuth2-based mechanism for logging in with an existing Facebook account.

    Function

    Allow users to log in with arbitrary credentials according to custom authentication logic that you define on the server.

    Google

    Mechanism for logging in with an existing Google account using an auth code or Id token.

    JWT

    Allow users to log in with JWT-based credentials generated by a service external to Realm.

    ServerApiKey

    Mechanism for logging in with API keys generated in the server UI.

    Unknown

    A provider that is not among the well known provider types. This is most likely the result of the server introducing a new provider type that this version of the SDK doesn't know about.

    See Also
    Authentication Providers Docs
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Realm
    Generated by DocFX