Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
Auth はユーザー認証サービスです
func (*Auth) ValidateToken ¶
ValidateToken はCognitoUserPoolのJWTを検証します
type Authenticator ¶
Authenticator はユーザー認証サービスです
func New ¶
func New(idp IdentityProvider, opt *Option) (Authenticator, error)
New initializes Cognito UserPool authenticator
type IdentityProvider ¶
type IdentityProvider interface { JWK() (map[string]JWKKey, error) Issuer() string Audience() string }
IdentityProvider provides the information to authenticate user.
Click to show internal directories.
Click to hide internal directories.