jira.js
    Preparing search index...

    Interface ServerOAuth2ManagerOptions

    interface ServerOAuth2ManagerOptions {
        accessToken?: string;
        clientId?: string;
        clientSecret?: string;
        expiresAt?: number;
        fetch?: FetchLike;
        host: string;
        onTokenRefresh?: OnTokenRefresh;
        redirectUri?: string;
        refreshToken?: string;
    }
    Index
    accessToken?: string
    clientId?: string
    clientSecret?: string
    expiresAt?: number

    Access-token expiry as epoch milliseconds.

    fetch?: FetchLike

    The fetch the client was configured with, so a proxy or a log covers the token calls too.

    host: string

    The instance the tokens belong to. Also the base URL for every request, since there is no gateway.

    onTokenRefresh?: OnTokenRefresh
    redirectUri?: string

    The redirect URI the incoming link was registered with. The provider validates it on refresh too.

    refreshToken?: string