Versions in this module Expand all Collapse all v0 v0.8.3 May 8, 2023 Changes in this version + const TokenTypeBearer + type Claims struct + type Manager interface + Generate func(identifier string) (*Token, error) + Parse func(accessToken string) (*Claims, error) + func NewManager(cfg *configs.Auth, clock time.Clock) Manager + type MockManager struct + func NewMockManager(ctrl *gomock.Controller) *MockManager + func (m *MockManager) EXPECT() *MockManagerMockRecorder + func (m *MockManager) Generate(identifier string) (*Token, error) + func (m *MockManager) Parse(accessToken string) (*Claims, error) + type MockManagerMockRecorder struct + func (mr *MockManagerMockRecorder) Generate(identifier interface{}) *gomock.Call + func (mr *MockManagerMockRecorder) Parse(accessToken interface{}) *gomock.Call + type Token struct + ExpiresIn int64 + Token string + TokenType string