Interface RegisterClientResponse.Builder

    • Method Detail

      • clientId

        RegisterClientResponse.Builder clientId​(String clientId)

        The unique identifier string for each client. This client uses this identifier to get authenticated by the service in subsequent calls.

        Parameters:
        clientId - The unique identifier string for each client. This client uses this identifier to get authenticated by the service in subsequent calls.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientSecret

        RegisterClientResponse.Builder clientSecret​(String clientSecret)

        A secret string generated for the client. The client will use this string to get authenticated by the service in subsequent calls.

        Parameters:
        clientSecret - A secret string generated for the client. The client will use this string to get authenticated by the service in subsequent calls.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientIdIssuedAt

        RegisterClientResponse.Builder clientIdIssuedAt​(Long clientIdIssuedAt)

        Indicates the time at which the clientId and clientSecret were issued.

        Parameters:
        clientIdIssuedAt - Indicates the time at which the clientId and clientSecret were issued.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientSecretExpiresAt

        RegisterClientResponse.Builder clientSecretExpiresAt​(Long clientSecretExpiresAt)

        Indicates the time at which the clientId and clientSecret will become invalid.

        Parameters:
        clientSecretExpiresAt - Indicates the time at which the clientId and clientSecret will become invalid.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authorizationEndpoint

        RegisterClientResponse.Builder authorizationEndpoint​(String authorizationEndpoint)

        An endpoint that the client can use to request authorization.

        Parameters:
        authorizationEndpoint - An endpoint that the client can use to request authorization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tokenEndpoint

        RegisterClientResponse.Builder tokenEndpoint​(String tokenEndpoint)

        An endpoint that the client can use to create tokens.

        Parameters:
        tokenEndpoint - An endpoint that the client can use to create tokens.
        Returns:
        Returns a reference to this object so that method calls can be chained together.