Versions in this module Expand all Collapse all v0 v0.3.0 Nov 27, 2026 Changes in this version + type MockConfig struct + func NewMockConfig(ctrl *gomock.Controller) *MockConfig + func (m *MockConfig) CustomRoles() (authtoken.CustomRoles, error) + func (m *MockConfig) EXPECT() *MockConfigMockRecorder + func (m *MockConfig) SigningKeys(ctx context.Context) (authtoken.Keys, error) + type MockConfigMockRecorder struct + func (mr *MockConfigMockRecorder) CustomRoles() *gomock.Call + func (mr *MockConfigMockRecorder) SigningKeys(ctx any) *gomock.Call + type MockTokens struct + func NewMockTokens(ctrl *gomock.Controller) *MockTokens + func (m *MockTokens) EXPECT() *MockTokensMockRecorder + func (m *MockTokens) Generate(key authtoken.Key, roles []types.Role, subject string, ...) (string, error) + func (m *MockTokens) Validate(tokenString string, keys authtoken.Keys) (*authtoken.CustomClaims, error) + type MockTokensMockRecorder struct + func (mr *MockTokensMockRecorder) Generate(key, roles, subject, permissions, targets any) *gomock.Call + func (mr *MockTokensMockRecorder) Validate(tokenString, keys any) *gomock.Call