package
0.0.0-20250127132912-5bc8233deb9c
Repository: https://github.com/uip9av6y/kubernetes-gitlab-authn.git
Documentation: pkg.go.dev

# Functions

NewRejectBotAuthorizer returns an [userauthz.Authorizer] which rejects users whose extra values contain [AttributeBot].
NewRejectDormantAuthorizer returns an [userauthz.Authorizer] which rejects users whose extra values contain [AttributeDormant].
NewRejectGroupsAuthorizer returns an [userauthz.Authorizer] instance which rejects users with membership of at least on of the given groups.
NewRejectLockedAuthorizer returns an [userauthz.Authorizer] which rejects users whose extra values contain [AttributeLocked].
NewRejectPristineAuthorizer returns an [userauthz.Authorizer] which rejects users whose extra values contain [AttributePristine].
NewRejectUsersAuthorizer returns an [userauthz.Authorizer] instance which rejects a user if named in the given list.
NewRequire2FAAuthorizer returns an [userauthz.Authorizer] which rejects users whose extra values DO NOT contain [Attribute2fa].
NewRequireGroupsAuthorizer returns an [userauthz.Authorizer] instance which requires a user to be a member of ALL given groups.
NewRequireUsersAuthorizer returns an [userauthz.Authorizer] instance which requires a user to be named in the given list.
No description provided by the author

# Constants

Attribute2fa is the extra value added to authentication objects when the user has 2FA enabled.
AttributeAdmin is the extra value added to authentication objects when the user is an administrator.
AttributeAuditor is the extra value added to authentication objects when the user is an auditor.
AttributeBot is the extra value added to authentication objects when the user is a robot account.
AttributeDormant is the extra value added to authentication objects when the user has not shown any activity for an extended period of time.
AttributeExternal is the extra value added to authentication objects when the user is marked as external.
AttributeLocked is the extra value added to authentication objects when the user account has been locked.
AttributePristine is the extra value added to authentication objects when the user has not yet confirmed their account.
AttributePrivate is the extra value added to authentication objects when the user account has the private flag set.
GitlabAttributesKey is the key used in a user's "extra" to specify the Gitlab specific account attributes.
GitlabGroup is the group prefix for groups based on user attributes.
GitlabKeyNamespace is the key namespace used in a user's "extra" to represent the various Gitlab specific account attributes.
Group2fa is the pseudo group added to authentication objects when the user has 2FA enabled.
GroupAdmin is the pseudo group added to authentication objects when the user is an administrator.
GroupAuditor is the pseudo group added to authentication objects when the user is an auditor.
GroupBot is the pseudo group added to authentication objects when the user is a robot account.
GroupDormant is the extra value added to authentication objects when the user has not shown any activity for an extended period of time.
GroupExternal is the pseudo group added to authentication objects when the user is marked as external.
GroupLocked is the pseudo group added to authentication objects when the user account has been locked.
GroupPristine is the pseudo group added to authentication objects when the user has not yet confirmed their account.
GroupPrivate is the pseudo group added to authentication objects when the user account has the private flag set.

# Structs

No description provided by the author