UserSelectInstanceFactory
class UserSelectInstanceFactory implements ApplicationAwareInterface (View source)
Methods for use with the ConcreteUserSelect component - primarily for creating on-the-fly access tokens
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Constants
| LABEL_FORMAT_AUTO | 
                     
  | 
            
| LABEL_FORMAT_AUTO_MINIMUM | 
                     
  | 
            
| LABEL_FORMAT_USERNAME | 
                     
  | 
            
| LABEL_FORMAT_EMAIL | 
                     
  | 
            
| LABEL_FORMAT_USERNAME_EMAIL | 
                     
  | 
            
Properties
| protected Application | $app | from ApplicationAwareTrait | |
| protected | $tokenService | 
Methods
                    string
                
                
                    getAccessTokenString(string $labelFormat, bool $includeAvatar)
        
                                            
                
            No description
                    createInstance(string $labelFormat, bool $includeAvatar)
        
                                            
                
            No description
                    createInstanceFromRequest(Request $request)
        
                                            
                
            No description
                    bool
                
                
                
            Details
        
                            
    setApplication(Application $app)
        
    
    Setter method for the application
        
                            
    __construct(Token $tokenService)
        
    
    No description
        
                    protected        string
    getAccessTokenString(string $labelFormat, bool $includeAvatar)
        
    
    No description
        
                            UserSelectInstance
    createInstance(string $labelFormat, bool $includeAvatar)
        
    
    No description
        
                            
    createInstanceFromRequest(Request $request)
        
    
    No description
        
                            bool
    instanceMatchesAccessToken(UserSelectInstance $instance, string $accessToken)
        
    
    No description