 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- type Authenticator
- func (a *Authenticator) AuthenticateRequest(req *http.Request) (user.Info, bool, error)
- func (a *Authenticator) AuthenticationSucceeded(user user.Info, state string, w http.ResponseWriter, req *http.Request) (bool, error)
- func (a *Authenticator) InvalidateAuthentication(w http.ResponseWriter, req *http.Request) error
 
- type Session
- type Store
Constants ¶
      View Source
      
  
    const UserNameKey = "user.name"
    
      View Source
      
  
const UserUIDKey = "user.uid"
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
	// contains filtered or unexported fields
}
    func NewAuthenticator ¶
func NewAuthenticator(store Store, name string) *Authenticator
func (*Authenticator) AuthenticateRequest ¶
func (*Authenticator) AuthenticationSucceeded ¶
func (a *Authenticator) AuthenticationSucceeded(user user.Info, state string, w http.ResponseWriter, req *http.Request) (bool, error)
func (*Authenticator) InvalidateAuthentication ¶
func (a *Authenticator) InvalidateAuthentication(w http.ResponseWriter, req *http.Request) error
type Session ¶
type Session interface {
	Values() map[interface{}]interface{}
}
    
       Source Files
      ¶
      Source Files
      ¶
    
- authenticator.go
- interfaces.go
- session.go
 Click to show internal directories. 
   Click to hide internal directories.