Documentation ¶
Index ¶
- type AuthApplication
- func (a *AuthApplication) CreateVerificationCode(ctx context.Context, request *api.CreateVerificationCodeRequest) (*api.CreateVerificationCodeResponse, error)
- func (a *AuthApplication) ValidateVerificationCode(ctx context.Context, request *api.ValidateVerificationCodeRequest) (*api.ValidateVerificationCodeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthApplication ¶
type AuthApplication struct {
// contains filtered or unexported fields
}
func New ¶
func New(authService authserviceiface.AuthService) *AuthApplication
func (*AuthApplication) CreateVerificationCode ¶
func (a *AuthApplication) CreateVerificationCode(ctx context.Context, request *api.CreateVerificationCodeRequest) (*api.CreateVerificationCodeResponse, error)
func (*AuthApplication) ValidateVerificationCode ¶
func (a *AuthApplication) ValidateVerificationCode(ctx context.Context, request *api.ValidateVerificationCodeRequest) (*api.ValidateVerificationCodeResponse, error)
Click to show internal directories.
Click to hide internal directories.