public Client createClient(Client client, AccessToken accessToken) {
        return getAuthService().createClient(client, accessToken);
    }
public Client createClient ( Client client , AccessToken accessToken ) { return getAuthService ( ) . createClient ( client , accessToken ) ; }
Create a client.

@param client      the client to create
@param accessToken the access token used to access the service
@return The created client
@throws UnauthorizedException             if the accessToken is not valid
@throws ConnectionInitializationException if the connection to the given OSIAM service could not be initialized
@throws ClientAlreadyExistsException      if the client with the clientId already exists
@throws IllegalStateException             if OSIAM's endpoint(s) are not properly configured