Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func New ¶
func New(db *orm.DB, ids model.IDGenerator) *Authenticator
func (*Authenticator) ExtractClientIP ¶
func (a *Authenticator) ExtractClientIP(ctx router.Context, trustProxy bool) string
func (*Authenticator) Name ¶
func (a *Authenticator) Name() string
func (*Authenticator) ValidateRUT ¶
func (a *Authenticator) ValidateRUT(rut string) (string, error)
Click to show internal directories.
Click to hide internal directories.