Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleAuth ¶
type GoogleAuth struct {
// contains filtered or unexported fields
}
GoogleAuth ... Google OIDC Authentication Client
func NewGoogleAuth ¶
func NewGoogleAuth(ctx context.Context, cfg *config.AuthConfig) (*GoogleAuth, error)
func (*GoogleAuth) Config ¶
func (a *GoogleAuth) Config() *oauth2.Config
func (*GoogleAuth) FetchUserInfo ¶
func (a *GoogleAuth) FetchUserInfo(code string) (*oidc.UserInfo, error)
FetchUserInfo ... Fetch user's information with oidc authentication
Click to show internal directories.
Click to hide internal directories.