Databricks SDK for JavaScript
    Preparing search index...

    Interface TokenAccessPolicy

    interface TokenAccessPolicy {
        absoluteSessionLifetimeInMinutes?: number;
        accessTokenTtlInMinutes?: number;
        enableSingleUseRefreshTokens?: boolean;
        refreshTokenTtlInMinutes?: number;
    }
    Index

    Properties

    absoluteSessionLifetimeInMinutes?: number

    Absolute OAuth session TTL in minutes. Effective only when the single-use refresh token feature is enabled. This is the absolute TTL of all refresh tokens issued in one OAuth session. When a new refresh token is issued during refresh token rotation, it will inherit the same absolute TTL as the old refresh token. In other words, this represents the maximum amount of time a user can stay logged in without re-authenticating.

    accessTokenTtlInMinutes?: number

    access token time to live in minutes

    enableSingleUseRefreshTokens?: boolean

    Whether to enable single-use refresh tokens (refresh token rotation). If this feature is enabled, upon successfully getting a new access token using a refresh token, will issue a new refresh token along with the access token in the response and invalidate the old refresh token. The client should use the new refresh token to get access tokens in future requests.

    refreshTokenTtlInMinutes?: number

    Refresh token time to live in minutes. When single-use refresh tokens are enabled, this represents the TTL of an individual refresh token. If the refresh token is used before it expires, a new one is issued with a renewed individual TTL.