simplelogin-client
    Preparing search index...

    Type Alias SimpleLoginProps

    Use SimpleLoginClient instead.

    type SimpleLoginProps = {
        apiKey: string;
        basePath?: string;
        fetchApi?: FetchAPI;
    }
    Index

    Properties

    apiKey: string

    API key to be passed in the header

    basePath?: string

    Override the default base path. This is useful for testing, or for selfhosted instances.

    https://app.simplelogin.io/api
    
    fetchApi?: FetchAPI

    In case you want to use the client with older versions of NodeJS you may need to install a third-party fetch compliant library like node-fetch. You then just pass the fetch HTTP client here.

    fetch provided by platform