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

    Interface RegistrationDatasource

    Interface representing a registration data source. RegistrationDatasource

    handleAuthenticationResponse - Handles the authentication response.

    The response object.

    The username for the response.

    Indicates if the response is for renewal.

    Indicates if

    interface RegistrationDatasource {
        api: Api<any>;
        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 for the data source.

    options: IDMOptions

    The IDM options.

    session: default

    The session information.

    urlManager: default

    The URL manager.

    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.