Interface OAuthProperties.Builder

    • Method Detail

      • tokenUrl

        OAuthProperties.Builder tokenUrl​(String tokenUrl)

        The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.

        Parameters:
        tokenUrl - The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authCodeUrl

        OAuthProperties.Builder authCodeUrl​(String authCodeUrl)

        The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.

        Parameters:
        authCodeUrl - The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oAuthScopes

        OAuthProperties.Builder oAuthScopes​(Collection<String> oAuthScopes)

        The OAuth scopes required for OAuth type authentication.

        Parameters:
        oAuthScopes - The OAuth scopes required for OAuth type authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oAuthScopes

        OAuthProperties.Builder oAuthScopes​(String... oAuthScopes)

        The OAuth scopes required for OAuth type authentication.

        Parameters:
        oAuthScopes - The OAuth scopes required for OAuth type authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.