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