Documentation
¶
Index ¶
- type AAPGatewayUserIdentity
- type AAPIdentity
- 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 JWTIdentity
- type K8sAuthN
- type OIDCServerResponse
- type TokenIdentity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AAPGatewayUserIdentity ¶ added in v0.10.0
type AAPIdentity ¶ added in v0.10.0
type AAPIdentity struct {
common.BaseIdentity
// contains filtered or unexported fields
}
AAPIdentity extends common.Identity with AAP-specific fields
func (*AAPIdentity) IsPlatformAuditor ¶ added in v0.10.0
func (a *AAPIdentity) IsPlatformAuditor() bool
func (*AAPIdentity) IsSuperuser ¶ added in v0.10.0
func (a *AAPIdentity) IsSuperuser() bool
type AapGatewayAuth ¶ added in v0.6.0
type AapGatewayAuth struct {
// contains filtered or unexported fields
}
func NewAapGatewayAuth ¶ added in v0.6.0
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 JWTIdentity ¶ added in v0.10.0
type JWTIdentity struct {
common.BaseIdentity
// contains filtered or unexported fields
}
JWTIdentity extends common.Identity with JWT-specific fields
func (*JWTIdentity) GetClaim ¶ added in v0.10.0
func (i *JWTIdentity) GetClaim(claim string) (interface{}, bool)
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.