Interface RefreshTokenRotationType.Builder

    • Method Detail

      • feature

        RefreshTokenRotationType.Builder feature​(String feature)

        The state of refresh token rotation for the current app client.

        Parameters:
        feature - The state of refresh token rotation for the current app client.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FeatureType, FeatureType
      • feature

        RefreshTokenRotationType.Builder feature​(FeatureType feature)

        The state of refresh token rotation for the current app client.

        Parameters:
        feature - The state of refresh token rotation for the current app client.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FeatureType, FeatureType
      • retryGracePeriodSeconds

        RefreshTokenRotationType.Builder retryGracePeriodSeconds​(Integer retryGracePeriodSeconds)

        When you request a token refresh with GetTokensFromRefreshToken, the original refresh token that you're rotating out can remain valid for a period of time of up to 60 seconds. This allows for client-side retries. When RetryGracePeriodSeconds is 0, the grace period is disabled and a successful request immediately invalidates the submitted refresh token.

        Parameters:
        retryGracePeriodSeconds - When you request a token refresh with GetTokensFromRefreshToken, the original refresh token that you're rotating out can remain valid for a period of time of up to 60 seconds. This allows for client-side retries. When RetryGracePeriodSeconds is 0, the grace period is disabled and a successful request immediately invalidates the submitted refresh token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.