public class RegistrationOperationsClient
extends MindsphereAPIClient
Modifier and Type | Class and Description |
---|---|
static class |
RegistrationOperationsClient.ClientBuilder |
Constructor and Description |
---|
RegistrationOperationsClient(RegistrationOperationsClient.ClientBuilder builder) |
Modifier and Type | Method and Description |
---|---|
static RegistrationOperationsClient.ClientBuilder |
builder() |
ClientIdentifier |
registerClientIdPut(String registrationAccessToken,
String clientId,
RotationKeys keys)
Update client information.
|
ClientIdentifier |
registerPost(String initialAccessToken,
Object keys)
Register client.
|
public RegistrationOperationsClient(RegistrationOperationsClient.ClientBuilder builder)
public static RegistrationOperationsClient.ClientBuilder builder()
public ClientIdentifier registerClientIdPut(String registrationAccessToken, String clientId, RotationKeys keys) throws MindsphereException
200 - OK
400 - Bad Request
401 - Unauthorized
500 - unexpected error
0 - Other error with any status code and response body format.
registrationAccessToken
- Registration Access Token value with Bearer
authentication scheme. e.g :Bearer eyJh...clientId
- Client identifier to update information.keys
- The client's key in JWKS for security
profile RSA. If security profile is
SHARED_SECRET there is only client_id in the
JSON.* @return ClientIdentifierMindsphereException
- if an error occurs while attempting to invoke the APIpublic ClientIdentifier registerPost(String initialAccessToken, Object keys) throws MindsphereException
201 - Created
400 - Bad Request
401 - Unauthorized
429 - TooManyRequests
500 - unexpected error
0 - Other error with any status code and response body format.
initialAccessToken
- Initial Access Token value with Bearer
authentication scheme. e.g :Bearer eyJh...keys
- The client's key in JWKS for security
profile RSA. If security profile is
SHARED_SECRET the value is empty JSON.MindsphereException
- if an error occurs while attempting to invoke the API