Documentation ¶
Index ¶
- type Authy
- func (s *Authy) Init(cfg *Config)
- func (s *Authy) JwtAuther(req jwt2.Request) (jwt.MapClaims, error)
- func (s *Authy) JwtParser(token string) (jwt.MapClaims, error)
- func (s *Authy) JwtSigner(claims jwt.MapClaims) (string, error)
- func (s *Authy) OAuth(req base.Request) (base.Response, error)
- func (s *Authy) OAuthEndpoint(oauthType string, endpoint string) (*base.Endpoint, error)
- func (s *Authy) TotpGenerate(endpoint string) (totp.GenerateBody, error)
- func (s *Authy) TotpValidate(req totp.ValidateRequest) (bool, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authy ¶
type Authy struct {
// contains filtered or unexported fields
}
func (*Authy) OAuthEndpoint ¶
func (*Authy) TotpGenerate ¶
func (s *Authy) TotpGenerate(endpoint string) (totp.GenerateBody, error)
func (*Authy) TotpValidate ¶
func (s *Authy) TotpValidate(req totp.ValidateRequest) (bool, error)
Click to show internal directories.
Click to hide internal directories.