Interface OAuth2TokenConfiguration

    • Method Detail

      • isEnforceRefreshTokenRotation

        boolean isEnforceRefreshTokenRotation​(@Nullable
                                              ProfileRequestContext profileRequestContext)
        Get whether always revoke the refresh_token after it's used.
        Parameters:
        profileRequestContext - profile request context
        Returns:
        whether always revoke the refresh_token after it's used
        Since:
        2.1.0
      • getRefreshTokenClaimsSetManipulationStrategy

        @Nonnull
        BiFunction<ProfileRequestContext,​Map<String,​Object>,​Map<String,​Object>> getRefreshTokenClaimsSetManipulationStrategy​(@Nullable
                                                                                                                                                     ProfileRequestContext profileRequestContext)
        Get the bi-function for manipulating refresh token claims set.
        Parameters:
        profileRequestContext - profile request context
        Returns:
        the bi-function for manipulating refresh token claims set
        Since:
        2.1.0
      • isIssueIdTokenViaRefreshToken

        boolean isIssueIdTokenViaRefreshToken​(@Nullable
                                              ProfileRequestContext profileRequestContext)
        Get whether the id_token is issued when refresh token grant is used.
        Parameters:
        profileRequestContext - profile request context
        Returns:
        whether id_token is issued when refresh token grant is used
        Since:
        2.2.0