Package com.atlassian.bitbucket.auth
Interface AuthenticationContext
public interface AuthenticationContext
A context for accessing the currently-authenticated user.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Method Details
-
getCurrentUser
- Returns:
- the current user or
null
if anonymous
-
getProperties
- Returns:
- the authentication properties provided during authentication; empty map if not authenticated
- Since:
- 5.5
-
isAuthenticated
boolean isAuthenticated()- Returns:
true
if the current request is authenticated
-