Versions in this module Expand all Collapse all v19 v19.1.0-rc1 May 21, 2026 v19.0.0 May 21, 2026 Changes in this version + var File_internal_module_workspaces_server_auth_proto protoreflect.FileDescriptor + func ApplyDefaults(config *kascfg.ConfigurationFile) + type AuthStore interface + DeleteOAuthState func(ctx context.Context, stateValue string) error + DeleteTransferToken func(ctx context.Context, token string) error + DeleteUserSession func(ctx context.Context, token string) error + GetOAuthState func(ctx context.Context, stateValue string) (*OAuthState, error) + GetTransferToken func(ctx context.Context, token string) (*TransferToken, error) + GetUserSession func(ctx context.Context, sessionID string) (*UserSession, error) + StoreOAuthState func(ctx context.Context, stateValue string, state *OAuthState) error + StoreTransferToken func(ctx context.Context, token string, tt *TransferToken) error + StoreUserSession func(ctx context.Context, sessionID string, us *UserSession) error + type Factory struct + func (f *Factory) Name() string + func (f *Factory) New(config *modserver.Config) (modserver.Module, error) + type OAuthState struct + CodeVerifier string + CreatedAt *timestamppb.Timestamp + OriginalUrl string + StateValue string + func (*OAuthState) Descriptor() ([]byte, []int) + func (*OAuthState) ProtoMessage() + func (oauthState *OAuthState) IsValid(ttl time.Duration, state string) bool + func (x *OAuthState) GetCodeVerifier() string + func (x *OAuthState) GetCreatedAt() *timestamppb.Timestamp + func (x *OAuthState) GetOriginalUrl() string + func (x *OAuthState) GetStateValue() string + func (x *OAuthState) ProtoReflect() protoreflect.Message + func (x *OAuthState) Reset() + func (x *OAuthState) String() string + type OAuthStateParam struct + CreatedAt *timestamppb.Timestamp + Nonce string + OriginalUrl string + func (*OAuthStateParam) Descriptor() ([]byte, []int) + func (*OAuthStateParam) ProtoMessage() + func (osp *OAuthStateParam) IsValid(ttl time.Duration) bool + func (x *OAuthStateParam) GetCreatedAt() *timestamppb.Timestamp + func (x *OAuthStateParam) GetNonce() string + func (x *OAuthStateParam) GetOriginalUrl() string + func (x *OAuthStateParam) ProtoReflect() protoreflect.Message + func (x *OAuthStateParam) Reset() + func (x *OAuthStateParam) String() string + type RedisAuthStore struct + func NewRedisAuthStore(client rueidis.Client, keyPrefix string, ...) *RedisAuthStore + func (r *RedisAuthStore) DeleteOAuthState(ctx context.Context, stateValue string) error + func (r *RedisAuthStore) DeleteTransferToken(ctx context.Context, token string) error + func (r *RedisAuthStore) DeleteUserSession(ctx context.Context, token string) error + func (r *RedisAuthStore) GetOAuthState(ctx context.Context, stateValue string) (*OAuthState, error) + func (r *RedisAuthStore) GetTransferToken(ctx context.Context, token string) (*TransferToken, error) + func (r *RedisAuthStore) GetUserSession(ctx context.Context, sessionID string) (*UserSession, error) + func (r *RedisAuthStore) StoreOAuthState(ctx context.Context, stateValue string, state *OAuthState) error + func (r *RedisAuthStore) StoreTransferToken(ctx context.Context, token string, tt *TransferToken) error + func (r *RedisAuthStore) StoreUserSession(ctx context.Context, sessionID string, us *UserSession) error + type TransferError struct + HttpStatusCode uint32 + Message string + OriginalUrl string + func (*TransferError) Descriptor() ([]byte, []int) + func (*TransferError) ProtoMessage() + func (te *TransferError) IsValid(host string) (bool, error) + func (x *TransferError) GetHttpStatusCode() uint32 + func (x *TransferError) GetMessage() string + func (x *TransferError) GetOriginalUrl() string + func (x *TransferError) ProtoReflect() protoreflect.Message + func (x *TransferError) Reset() + func (x *TransferError) String() string + type TransferToken struct + CreatedAt *timestamppb.Timestamp + OriginalUrl string + User *User + Workspace *Workspace + func (*TransferToken) Descriptor() ([]byte, []int) + func (*TransferToken) ProtoMessage() + func (tt *TransferToken) IsValid(ttl time.Duration, host string) (bool, error) + func (x *TransferToken) GetCreatedAt() *timestamppb.Timestamp + func (x *TransferToken) GetOriginalUrl() string + func (x *TransferToken) GetUser() *User + func (x *TransferToken) GetWorkspace() *Workspace + func (x *TransferToken) ProtoReflect() protoreflect.Message + func (x *TransferToken) Reset() + func (x *TransferToken) String() string + type User struct + Id int64 + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (x *User) GetId() int64 + func (x *User) ProtoReflect() protoreflect.Message + func (x *User) Reset() + func (x *User) String() string + type UserSession struct + CreatedAt *timestamppb.Timestamp + Host string + User *User + Workspace *Workspace + func (*UserSession) Descriptor() ([]byte, []int) + func (*UserSession) ProtoMessage() + func (us *UserSession) IsValid(ttl time.Duration, host string) bool + func (x *UserSession) GetCreatedAt() *timestamppb.Timestamp + func (x *UserSession) GetHost() string + func (x *UserSession) GetUser() *User + func (x *UserSession) GetWorkspace() *Workspace + func (x *UserSession) ProtoReflect() protoreflect.Message + func (x *UserSession) Reset() + func (x *UserSession) String() string + type Workspace struct + Id int64 + Port uint32 + func (*Workspace) Descriptor() ([]byte, []int) + func (*Workspace) ProtoMessage() + func (x *Workspace) GetId() int64 + func (x *Workspace) GetPort() uint32 + func (x *Workspace) ProtoReflect() protoreflect.Message + func (x *Workspace) Reset() + func (x *Workspace) String() string v19.0.0-rc43 May 20, 2026 v19.0.0-rc42 May 19, 2026 Other modules containing this package gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18