Package | Description |
---|---|
com.atlassian.bitbucket.auth |
Modifier and Type | Field and Description |
---|---|
static Authentication |
Authentication.ANONYMOUS |
Modifier and Type | Method and Description |
---|---|
Authentication |
AuthenticationService.authenticate(String username,
String password)
Attempts to authenticate the specified user given their password.
|
Authentication |
AuthenticationService.authenticateWithCaptcha(String username,
String password)
Attempts to authenticate the specified user given their password.
|
Authentication |
AuthenticationService.clear()
Clears the current authentication, if any, resulting in an anonymous context
|
Authentication |
AuthenticationService.get() |
Authentication |
AuthenticationService.set(Authentication authentication)
Sets the authentication for the current thread (and thereby request)
|
Modifier and Type | Method and Description |
---|---|
Authentication |
AuthenticationService.set(Authentication authentication)
Sets the authentication for the current thread (and thereby request)
|
Copyright © 2021 Atlassian. All rights reserved.