Versions in this module Expand all Collapse all v0 v0.0.0 Jul 11, 2020 Changes in this version + type Client interface + GetData func() json.RawMessage + GetDomain func() string + GetID func() string + GetSecret func() string + GetUserID func() string + type ClientRepository interface + Add func(ctx context.Context, client Client) error + Delete func(ctx context.Context, id string) error + Get func(ctx context.Context, id string) (Client, error) + type Token interface + GetAccess func() string + GetClientID func() string + GetCode func() string + GetData func() json.RawMessage + GetID func() string + GetRefresh func() string + GetScope func() string + GetUserID func() string + type TokenRepository interface + Add func(ctx context.Context, token Token) error + Delete func(ctx context.Context, id string) error + Get func(ctx context.Context, id string) (Token, error) + GetByAccess func(ctx context.Context, access string) (Token, error) + GetByCode func(ctx context.Context, code string) (Token, error) + GetByRefresh func(ctx context.Context, refresh string) (Token, error) + type User interface + GetEmail func() string + GetID func() string + type UserRepository interface + Get func(ctx context.Context, id string) (User, error)