@creator.co/module-identity-client - v1.1.11
    Preparing search index...

    Represents an external provider with methods for logging in with Google, Facebook, and Apple.

    Index

    Constructors

    Properties

    enabledClients: FederationProvidersResponse

    Represents the list of enabled clients in the federation providers response.

    isLoading: boolean

    A boolean flag indicating whether the component is currently in a loading state.

    Methods

    • Checks if the 'APPLE' client is available in the enabledClients object.

      Returns boolean

      true if the 'APPLE' client is available, false otherwise.

    • Checks if any of the external providers (Google, Apple, Facebook) are available.

      Returns boolean

      true if any of the external providers are available, false otherwise.

    • Checks if Facebook is available based on the enabledClients object.

      Returns boolean

      • true if Facebook is available, false otherwise.
    • Checks if Google is available in the list of enabled clients.

      Returns boolean

      • true if Google is available, false otherwise
    • Logs in using Apple authentication provider.

      Parameters

      • optionalPostLoginURL: string

        Optional URL to redirect to after login.

      • OptionalkeepQueryContext: boolean = true

        Flag to indicate whether to keep query context.

      Returns Promise<boolean>

      • Returns true if login is successful, false otherwise.
    • Logs in using Facebook authentication.

      Parameters

      • optionalPostLoginURL: string

        Optional URL to redirect to after login.

      • keepQueryContext: boolean = true

        Flag to indicate whether to keep query context.

      Returns Promise<boolean>

      True if login is successful, false otherwise.

    • Logs in using Google authentication.

      Parameters

      • optionalPostLoginURL: string

        Optional URL to redirect to after login.

      • OptionalkeepQueryContext: boolean = true

        Flag to indicate whether to keep query context.

      Returns Promise<boolean>

      • Returns true if login is successful, false otherwise.