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

    Interface AuthenticatorDatasource

    Interface representing an Authenticator Datasource. AuthenticatorDatasource

    handleAuthenticationResponse - Handles the authentication response.

    The response object.

    The username (optional).

    Indicates if it is a renewal process (

    interface AuthenticatorDatasource {
        api: Api<any>;
        externalProviders: default;
        options: IDMOptions;
        session: default;
        urlManager: default;
        handleAuthenticationResponse(
            resp: AuthorizationResponse | ErrorResponse,
            username?: string,
            isRenewal?: boolean,
            isLocalAuthentication?: boolean,
        ): Promise<any>;
    }

    Implemented by

    Index

    Properties

    api: Api<any>

    The API object.

    externalProviders: default

    The external providers.

    options: IDMOptions

    The IDM options.

    session: default

    The session object.

    urlManager: default

    The URL manager object.

    Methods

    • Handles the authentication response from the server.

      Parameters

      • resp: AuthorizationResponse | ErrorResponse

        The response object from the server.

      • Optionalusername: string

        The username for the authentication.

      • OptionalisRenewal: boolean

        Flag indicating if the authentication is a renewal.

      • OptionalisLocalAuthentication: boolean

        Flag indicating if the authentication is local.

      Returns Promise<any>

      A promise that resolves with the authentication response.