Versions in this module Expand all Collapse all v18 v18.5.0-rc4 Sep 29, 2025 v18.4.0-rc42 Sep 16, 2025 v18.3.4 Oct 8, 2025 v18.3.3 Sep 25, 2025 v18.3.1 Aug 26, 2025 v18.3.0 Aug 20, 2025 Changes in this version + var File_internal_module_workspaces_server_auth_proto protoreflect.FileDescriptor + 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 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 v18.3.0-rc43 Aug 19, 2025 v18.3.0-rc42 Aug 19, 2025 v18.3.0-rc1 Jul 16, 2025 v18.2.8 Oct 8, 2025 v18.2.5 Aug 26, 2025 v18.2.4 Aug 18, 2025 v18.2.3 Aug 18, 2025 v18.2.2 Aug 12, 2025 v18.2.1 Jul 22, 2025 v18.2.0 Jul 16, 2025 Changes in this version + func ApplyDefaults(config *kascfg.ConfigurationFile) + type Factory struct + func (f *Factory) Name() string + func (f *Factory) New(config *modserver.Config) (modserver.Module, error) v18.2.0-rc43 Jul 15, 2025 v18.2.0-rc42 Jul 15, 2025