Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Oidcc ¶
type Oidcc struct { Issuer string `json:"issuer"` ClientID string `json:"clientId"` ClientSecret string `json:"clientSecret"` Username string `json:"username"` Password string `json:"password"` Tok *oauth2.Token `json:"token"` Disable bool `json:"-"` sync.Mutex `json:"-"` }
Oidcc Oidc client
type Oidcs ¶
type Oidcs struct { Issuer string `json:"issuer"` Disable bool `json:"-"` sync.Mutex `json:"-"` // contains filtered or unexported fields }
Oidcs Oidc client only with issuer parameter
type User ¶
type User struct { Subject string `json:"sub"` Email string `json:"email"` Mobile string `json:"mobile"` Name string `json:"name"` Token string `json:"Token"` EmailVerified bool `json:"email_verified"` MobileVerified bool `json:"mobile_verified"` // original claims Claims json.RawMessage }
User represents the user info from Token or user info
Click to show internal directories.
Click to hide internal directories.