Versions in this module Expand all Collapse all v1 v1.0.0 Jan 5, 2022 Changes in this version + type AuthCode struct + func (a *AuthCode) CreateCode(ctx context.Context) (code string, err error) + type AuthFactory struct + func (f *AuthFactory) NewAuthCode(ctx context.Context, data dto.AuthCodeReq) (authCode AuthCode, err error) + func (f *AuthFactory) NewAuthToken(ctx context.Context, data dto.OpenIdTokenReq) (auth AuthToken, err error) + func (f *AuthFactory) NewProduceAuthToken(ctx context.Context, data dto.ProduceAuthTokenReq) (authToken AuthTokenProduce, err error) + type AuthToken struct + func (a AuthToken) GetUserInfo(ctx context.Context) (userSimple dto.UserSimple, err error) + type AuthTokenProduce struct + func (a *AuthTokenProduce) ProduceToken(ctx context.Context) (authTokenSimple dto.AuthTokenSimple, err error) + type Factory struct + func NewFactory(repo *repository.Repository) *Factory