Interface AuthorizationCodeProperties.Builder

    • Method Detail

      • authorizationCode

        AuthorizationCodeProperties.Builder authorizationCode​(String authorizationCode)

        An authorization code to be used in the third leg of the AUTHORIZATION_CODE grant workflow. This is a single-use code which becomes invalid once exchanged for an access token, thus it is acceptable to have this value as a request parameter.

        Parameters:
        authorizationCode - An authorization code to be used in the third leg of the AUTHORIZATION_CODE grant workflow. This is a single-use code which becomes invalid once exchanged for an access token, thus it is acceptable to have this value as a request parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • redirectUri

        AuthorizationCodeProperties.Builder redirectUri​(String redirectUri)

        The redirect URI where the user gets redirected to by authorization server when issuing an authorization code. The URI is subsequently used when the authorization code is exchanged for an access token.

        Parameters:
        redirectUri - The redirect URI where the user gets redirected to by authorization server when issuing an authorization code. The URI is subsequently used when the authorization code is exchanged for an access token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.