Interface OAuth2FlowAwareProfileConfiguration

    • Method Detail

      • isAuthorizationCodeFlowEnabled

        boolean isAuthorizationCodeFlowEnabled​(@Nullable
                                               ProfileRequestContext profileRequestContext)
        Get whether authorization code flow is supported by this profile.
        Parameters:
        profileRequestContext - profile request context
        Returns:
        whether authorization code flow is supported by this profile
      • isImplicitFlowEnabled

        boolean isImplicitFlowEnabled​(@Nullable
                                      ProfileRequestContext profileRequestContext)
        Get whether hybrid flow is supported by this profile.
        Parameters:
        profileRequestContext - profile request context
        Returns:
        whether hybrid flow is supported by this profile
      • isRefreshTokensEnabled

        boolean isRefreshTokensEnabled​(@Nullable
                                       ProfileRequestContext profileRequestContext)
        Get whether refresh tokens are supported by this profile.
        Parameters:
        profileRequestContext - profile request context
        Returns:
        whether refresh tokens are supported by this profile