Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator interface {
GenerateAuthLink(fn, uuid string) (string, error)
GetConfig() (*oidc.Provider, oauth2.Config, error)
GetAccessToken(code string) (*oidc.UserInfo, *oauth2.Token, error)
}
func NewAuthenticator ¶
func NewAuthenticator(cfg *config.Config) Authenticator
type OIDCProvider ¶
func (*OIDCProvider) GenerateAuthLink ¶
func (o *OIDCProvider) GenerateAuthLink(fn string, uuid string) (string, error)
func (*OIDCProvider) GetAccessToken ¶
Click to show internal directories.
Click to hide internal directories.