Documentation ¶
Index ¶
- func EmbedFlowInOIDCState(param string) (string, error)
- func ExtractFlowFromOIDCState(state string) (string, error)
- func GenerateNonceFromLetters(length int, letterRunes []rune) string
- type MailOTP
- type OIDC
- func (g *OIDC) AuthURL(state string) (url string, nonce string, err error)
- func (g *OIDC) GetUser(ctx context.Context, token *oauth2.Token) (*UserInfo, error)
- func (g *OIDC) Init(ctx context.Context, issuer string) (*OIDC, error)
- func (g *OIDC) Token(ctx context.Context, code string, nonce string) (*oauth2.Token, error)
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmbedFlowInOIDCState ¶
Types ¶
type MailOTP ¶
MailOTP sends a mail with a one time password to user's email id and verifies the OTP. On successful verification, it creates a session
Click to show internal directories.
Click to hide internal directories.