aggregate

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2022 License: Apache-2.0 Imports: 16 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthCode

type AuthCode struct {
	// contains filtered or unexported fields
}

func (*AuthCode) CreateCode

func (a *AuthCode) CreateCode(ctx context.Context) (code string, err error)

type AuthFactory

type AuthFactory struct {
	// contains filtered or unexported fields
}

func (*AuthFactory) NewAuthCode

func (f *AuthFactory) NewAuthCode(ctx context.Context, data dto.AuthCodeReq) (authCode AuthCode, err error)

func (*AuthFactory) NewAuthToken

func (f *AuthFactory) NewAuthToken(ctx context.Context, data dto.OpenIdTokenReq) (auth AuthToken, err error)

func (*AuthFactory) NewProduceAuthToken

func (f *AuthFactory) NewProduceAuthToken(ctx context.Context, data dto.ProduceAuthTokenReq) (authToken AuthTokenProduce, err error)

type AuthToken

type AuthToken struct {
	// contains filtered or unexported fields
}

func (AuthToken) GetUserInfo

func (a AuthToken) GetUserInfo(ctx context.Context) (userSimple dto.UserSimple, err error)

type AuthTokenProduce

type AuthTokenProduce struct {
	// contains filtered or unexported fields
}

func (*AuthTokenProduce) ProduceToken

func (a *AuthTokenProduce) ProduceToken(ctx context.Context) (authTokenSimple dto.AuthTokenSimple, err error)

type Factory

type Factory struct {
	*AuthFactory
}

func NewFactory

func NewFactory(repo *repository.Repository) *Factory

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL