- All Known Implementing Classes:
public interface BitbucketAuthenticatedUserClientClient to retrieve the username for the credentials used.
getAuthenticatedUserGet the username associated with the provided credentials.
- The associated username, or
Optional.empty()if there is none
AuthorizationException- if the credentials did not allow access to the given url
NoContentException- if the server did not respond with a body
ConnectionFailureException- if the server did not respond
NotFoundException- if the requested url does not exist
BadRequestException- if the request was malformed and thus rejected by the server
ServerErrorException- if the server failed to process the request
BitbucketClientException- for all errors not already captured