Interface OAuth2Credentials.Builder

    • Method Detail

      • userManagedClientApplicationClientSecret

        OAuth2Credentials.Builder userManagedClientApplicationClientSecret​(String userManagedClientApplicationClientSecret)

        The client application client secret if the client application is user managed.

        Parameters:
        userManagedClientApplicationClientSecret - The client application client secret if the client application is user managed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessToken

        OAuth2Credentials.Builder accessToken​(String accessToken)

        The access token used when the authentication type is OAuth2.

        Parameters:
        accessToken - The access token used when the authentication type is OAuth2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • refreshToken

        OAuth2Credentials.Builder refreshToken​(String refreshToken)

        The refresh token used when the authentication type is OAuth2.

        Parameters:
        refreshToken - The refresh token used when the authentication type is OAuth2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jwtToken

        OAuth2Credentials.Builder jwtToken​(String jwtToken)

        The JSON Web Token (JWT) used when the authentication type is OAuth2.

        Parameters:
        jwtToken - The JSON Web Token (JWT) used when the authentication type is OAuth2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.