TOTPAware
trait TOTPAware (View source)
Methods
                                        protected                                                        
                
                    string
                
                                
                    getEncryptionKey()
        
                                            
                
            Gets the encryption key to use from environment variables. This is generated by default on the Common Web Platform, but can be defined as a custom value if required.
                                        protected                                                        
                
                    TOTPInterface
                
                                
                    getTotp(StoreInterface $store)
        
                                            
                
            Get an instance of the TOTP handler service. The secret must already be defined and set to the StoreInterface.
Details
        
                    protected        string
    getEncryptionKey()
        
    
    Gets the encryption key to use from environment variables. This is generated by default on the Common Web Platform, but can be defined as a custom value if required.
        
                    protected        TOTPInterface
    getTotp(StoreInterface $store)
        
    
    Get an instance of the TOTP handler service. The secret must already be defined and set to the StoreInterface.