| com.atlassian.bitbucket.auth.AuthenticationContext | 
    
    
Class Overview
A context for accessing the currently-authenticated user.
 
Public Methods
    
      
        
        @Nullable
        
        public
        
        
        
        
        ApplicationUser
      
      getCurrentUser
      ()
    
      
    
      
    
    
    
      
  
  
      Returns
      - the current user or nullif anonymous
 
     
 
    
      
        
        @Nonnull
        
        public
        
        
        
        
        Map<String, Serializable>
      
      getProperties
      ()
    
      
    
      
    
    
    
      
  
  
      Returns
      - the authentication properties provided during authentication; empty map if not authenticated
 
     
 
    
      
        
        public
        
        
        
        
        boolean
      
      isAuthenticated
      ()
    
      
    
      
    
      
  
  
      Returns
      - trueif the current request is authenticated