Interface OAuth2Properties.Builder

    • Method Detail

      • oAuth2GrantType

        OAuth2Properties.Builder oAuth2GrantType​(String oAuth2GrantType)

        The OAuth2 grant type. For example, AUTHORIZATION_CODE, JWT_BEARER, or CLIENT_CREDENTIALS.

        Parameters:
        oAuth2GrantType - The OAuth2 grant type. For example, AUTHORIZATION_CODE, JWT_BEARER, or CLIENT_CREDENTIALS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OAuth2GrantType, OAuth2GrantType
      • oAuth2GrantType

        OAuth2Properties.Builder oAuth2GrantType​(OAuth2GrantType oAuth2GrantType)

        The OAuth2 grant type. For example, AUTHORIZATION_CODE, JWT_BEARER, or CLIENT_CREDENTIALS.

        Parameters:
        oAuth2GrantType - The OAuth2 grant type. For example, AUTHORIZATION_CODE, JWT_BEARER, or CLIENT_CREDENTIALS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OAuth2GrantType, OAuth2GrantType
      • oAuth2ClientApplication

        OAuth2Properties.Builder oAuth2ClientApplication​(OAuth2ClientApplication oAuth2ClientApplication)

        The client application type. For example, AWS_MANAGED or USER_MANAGED.

        Parameters:
        oAuth2ClientApplication - The client application type. For example, AWS_MANAGED or USER_MANAGED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tokenUrl

        OAuth2Properties.Builder tokenUrl​(String tokenUrl)

        The URL of the provider's authentication server, to exchange an authorization code for an access token.

        Parameters:
        tokenUrl - The URL of the provider's authentication server, to exchange an authorization code for an access token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tokenUrlParametersMap

        OAuth2Properties.Builder tokenUrlParametersMap​(Map<String,​String> tokenUrlParametersMap)

        A map of parameters that are added to the token GET request.

        Parameters:
        tokenUrlParametersMap - A map of parameters that are added to the token GET request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.