Interface GetResourceOauth2TokenResponse.Builder

  • Method Details

    • authorizationUrl

      GetResourceOauth2TokenResponse.Builder authorizationUrl(String authorizationUrl)

      The URL to initiate the authorization process, provided when the access token requires user authorization.

      Parameters:
      authorizationUrl - The URL to initiate the authorization process, provided when the access token requires user authorization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessToken

      The OAuth 2.0 access token to use.

      Parameters:
      accessToken - The OAuth 2.0 access token to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionUri

      Unique identifier for the user's authorization session for retrieving OAuth2 tokens. This matches the sessionId from the request and can be used to track the session state.

      Parameters:
      sessionUri - Unique identifier for the user's authorization session for retrieving OAuth2 tokens. This matches the sessionId from the request and can be used to track the session state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionStatus

      GetResourceOauth2TokenResponse.Builder sessionStatus(String sessionStatus)

      Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.

      Parameters:
      sessionStatus - Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sessionStatus

      Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.

      Parameters:
      sessionStatus - Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: