Documentation ¶
Index ¶
- Variables
- type OidcAuthConsumer
- type OidcAuthProvider
- type Setter
- type TokenAuthSetterVerifier
- func (auth *TokenAuthSetterVerifier) SetLogin(loginMsg *msg.Login) error
- func (auth *TokenAuthSetterVerifier) SetNewWorkConn(newWorkConnMsg *msg.NewWorkConn) error
- func (auth *TokenAuthSetterVerifier) SetPing(pingMsg *msg.Ping) error
- func (auth *TokenAuthSetterVerifier) VerifyLogin(m *msg.Login) error
- func (auth *TokenAuthSetterVerifier) VerifyNewWorkConn(m *msg.NewWorkConn) error
- func (auth *TokenAuthSetterVerifier) VerifyPing(m *msg.Ping) error
- type TokenVerifier
- type Verifier
Constants ¶
This section is empty.
Variables ¶
View Source
var AlwaysPassVerifier = &alwaysPass{}
Functions ¶
This section is empty.
Types ¶
type OidcAuthConsumer ¶
type OidcAuthConsumer struct {
// contains filtered or unexported fields
}
func NewOidcAuthVerifier ¶
func NewOidcAuthVerifier(additionalAuthScopes []v1.AuthScope, verifier TokenVerifier) *OidcAuthConsumer
func (*OidcAuthConsumer) VerifyLogin ¶
func (auth *OidcAuthConsumer) VerifyLogin(loginMsg *msg.Login) (err error)
func (*OidcAuthConsumer) VerifyNewWorkConn ¶
func (auth *OidcAuthConsumer) VerifyNewWorkConn(newWorkConnMsg *msg.NewWorkConn) (err error)
func (*OidcAuthConsumer) VerifyPing ¶
func (auth *OidcAuthConsumer) VerifyPing(pingMsg *msg.Ping) (err error)
type OidcAuthProvider ¶
type OidcAuthProvider struct {
// contains filtered or unexported fields
}
func NewOidcAuthSetter ¶
func NewOidcAuthSetter(additionalAuthScopes []v1.AuthScope, cfg v1.AuthOIDCClientConfig) *OidcAuthProvider
func (*OidcAuthProvider) SetLogin ¶
func (auth *OidcAuthProvider) SetLogin(loginMsg *msg.Login) (err error)
func (*OidcAuthProvider) SetNewWorkConn ¶
func (auth *OidcAuthProvider) SetNewWorkConn(newWorkConnMsg *msg.NewWorkConn) (err error)
type Setter ¶
type Setter interface { SetLogin(*msg.Login) error SetPing(*msg.Ping) error SetNewWorkConn(*msg.NewWorkConn) error }
func NewAuthSetter ¶
func NewAuthSetter(cfg v1.AuthClientConfig) (authProvider Setter)
type TokenAuthSetterVerifier ¶
type TokenAuthSetterVerifier struct {
// contains filtered or unexported fields
}
func NewTokenAuth ¶
func NewTokenAuth(additionalAuthScopes []v1.AuthScope, token string) *TokenAuthSetterVerifier
func (*TokenAuthSetterVerifier) SetLogin ¶
func (auth *TokenAuthSetterVerifier) SetLogin(loginMsg *msg.Login) error
func (*TokenAuthSetterVerifier) SetNewWorkConn ¶
func (auth *TokenAuthSetterVerifier) SetNewWorkConn(newWorkConnMsg *msg.NewWorkConn) error
func (*TokenAuthSetterVerifier) SetPing ¶
func (auth *TokenAuthSetterVerifier) SetPing(pingMsg *msg.Ping) error
func (*TokenAuthSetterVerifier) VerifyLogin ¶
func (auth *TokenAuthSetterVerifier) VerifyLogin(m *msg.Login) error
func (*TokenAuthSetterVerifier) VerifyNewWorkConn ¶
func (auth *TokenAuthSetterVerifier) VerifyNewWorkConn(m *msg.NewWorkConn) error
func (*TokenAuthSetterVerifier) VerifyPing ¶
func (auth *TokenAuthSetterVerifier) VerifyPing(m *msg.Ping) error
type TokenVerifier ¶
func NewTokenVerifier ¶
func NewTokenVerifier(cfg v1.AuthOIDCServerConfig) TokenVerifier
Click to show internal directories.
Click to hide internal directories.