Documentation
¶
Index ¶
- type AAPUser
- type AAPUserInfo
- type AapGatewayAuth
- func (a AapGatewayAuth) GetAuthConfig() common.AuthConfig
- func (AapGatewayAuth) GetAuthToken(r *http.Request) (string, error)
- func (a AapGatewayAuth) GetIdentity(ctx context.Context, token string) (*common.Identity, error)
- func (a AapGatewayAuth) ValidateToken(ctx context.Context, token string) error
- type JWTAuth
- type K8sAuthN
- type OIDCServerResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AAPUserInfo ¶ added in v0.6.0
type AAPUserInfo struct {
Results []AAPUser `json:"results,omitempty"`
}
type AapGatewayAuth ¶ added in v0.6.0
type AapGatewayAuth struct {
// contains filtered or unexported fields
}
func NewAapGatewayAuth ¶ added in v0.6.0
func NewAapGatewayAuth(gatewayUrl string, externalGatewayUrl string, clientTlsConfig *tls.Config) AapGatewayAuth
func (AapGatewayAuth) GetAuthConfig ¶ added in v0.6.0
func (a AapGatewayAuth) GetAuthConfig() common.AuthConfig
func (AapGatewayAuth) GetAuthToken ¶ added in v0.6.0
func (AapGatewayAuth) GetAuthToken(r *http.Request) (string, error)
func (AapGatewayAuth) GetIdentity ¶ added in v0.6.0
func (AapGatewayAuth) ValidateToken ¶ added in v0.6.0
func (a AapGatewayAuth) ValidateToken(ctx context.Context, token string) error
type JWTAuth ¶
type JWTAuth struct {
// contains filtered or unexported fields
}
func NewJWTAuth ¶
func (JWTAuth) GetAuthConfig ¶
func (j JWTAuth) GetAuthConfig() common.AuthConfig
func (JWTAuth) GetAuthToken ¶ added in v0.6.0
func (JWTAuth) GetIdentity ¶ added in v0.4.0
type K8sAuthN ¶ added in v0.4.0
type K8sAuthN struct {
// contains filtered or unexported fields
}
func NewK8sAuthN ¶ added in v0.4.0
func (K8sAuthN) GetAuthConfig ¶ added in v0.4.0
func (o K8sAuthN) GetAuthConfig() common.AuthConfig
func (K8sAuthN) GetAuthToken ¶ added in v0.6.0
func (K8sAuthN) GetIdentity ¶ added in v0.4.0
type OIDCServerResponse ¶
Click to show internal directories.
Click to hide internal directories.