Interface RegisterClientRequest.Builder

    • Method Detail

      • clientName

        RegisterClientRequest.Builder clientName​(String clientName)

        The friendly name of the client.

        Parameters:
        clientName - The friendly name of the client.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientType

        RegisterClientRequest.Builder clientType​(String clientType)

        The type of client. The service supports only public as a client type. Anything other than public will be rejected by the service.

        Parameters:
        clientType - The type of client. The service supports only public as a client type. Anything other than public will be rejected by the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scopes

        RegisterClientRequest.Builder scopes​(Collection<String> scopes)

        The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.

        Parameters:
        scopes - The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scopes

        RegisterClientRequest.Builder scopes​(String... scopes)

        The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.

        Parameters:
        scopes - The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.