Documentation ¶
Index ¶
- type AuthCode
- type AuthFactory
- 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
- type AuthTokenProduce
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.