Documentation ¶
Index ¶
- func GetGoogleOAuth2AuthorizationUrl(redirectUrl string, state string) (string, *errors.VironError)
- func IsSignedOut(ctx context.Context, token string) bool
- func NewGoogleOAuth2(googleOAuth2 *config.GoogleOAuth2)
- func SetUp(secret string, provider func(r *http.Request) (string, []string, error), ...) error
- func Sign(r *http.Request, subject string) (string, error)
- func SignOut(ctx context.Context, token string) bool
- func SigninEmail(r *http.Request, email string, password string) (string, *errors.VironError)
- func SigninGoogleOAuth2(code string, redirectUrl string, r *http.Request) (string, *errors.VironError)
- type Claim
- type Config
- type JWT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGoogleOAuth2AuthorizationUrl ¶
func GetGoogleOAuth2AuthorizationUrl(redirectUrl string, state string) (string, *errors.VironError)
func NewGoogleOAuth2 ¶
func NewGoogleOAuth2(googleOAuth2 *config.GoogleOAuth2)
func SigninEmail ¶
SigninEmail Emailアドレスでサインイン
func SigninGoogleOAuth2 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.