IFClite TypeScript API
    Preparing search index...

    Interface RefreshGrantOptions

    interface RefreshGrantOptions {
        clientId?: string;
        clientSecret?: string;
        errorNamespace?: string;
        fetchFn?: FetchLike;
        refreshToken: string;
        tokenUrl: string;
    }

    Hierarchy

    • TokenRequestOptions
      • RefreshGrantOptions
    Index
    clientId?: string

    Public client id, when the server requires one.

    clientSecret?: string

    Client secret; only for servers whose token endpoint demands it.

    errorNamespace?: string

    Prefix of thrown errors' name (see FoundationApiError); defaults to 'Foundation'.

    fetchFn?: FetchLike
    refreshToken: string
    tokenUrl: string

    OAuth2 token endpoint, from the server's /auth discovery document.