Class BitbucketAuthenticatedUserClientImpl
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.client.BitbucketAuthenticatedUserClientImpl
-
- All Implemented Interfaces:
BitbucketAuthenticatedUserClient
public class BitbucketAuthenticatedUserClientImpl extends Object implements BitbucketAuthenticatedUserClient
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
getAuthenticatedUser()
Get the username associated with the provided credentials.
-
-
-
Method Detail
-
getAuthenticatedUser
public Optional<String> getAuthenticatedUser()
Description copied from interface:BitbucketAuthenticatedUserClient
Get the username associated with the provided credentials.- Specified by:
getAuthenticatedUser
in interfaceBitbucketAuthenticatedUserClient
- Returns:
- The associated username, or
Optional.empty()
if there is none
-
-