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
Modifier and TypeMethodDescriptionGet the username associated with the provided credentials.
-
Method Details
-
getAuthenticatedUser
Description copied from interface:BitbucketAuthenticatedUserClientGet the username associated with the provided credentials.- Specified by:
getAuthenticatedUserin interfaceBitbucketAuthenticatedUserClient- Returns:
- The associated username, or
Optional.empty()if there is none
-