Documentation
¶
Index ¶
- type AuthRoutes
- func (r *AuthRoutes) LoginStart(ctx context.Context, req *authpb.LoginStartRequest) (*authpb.LoginStartResponse, error)
- func (r *AuthRoutes) LoginVerify(ctx context.Context, req *authpb.LoginVerifyRequest) (*authpb.LoginVerifyResponse, error)
- func (r *AuthRoutes) ProtectedRoutes() []string
- func (r *AuthRoutes) RegisterRouter(s *grpc.Server)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRoutes ¶
type AuthRoutes struct {
authpb.UnimplementedAuthServer
Tracer trace.Tracer
ValidationSrv *validation.Srv
AuthUseCase *usecase.AuthUseCase
Domain string
}
func (*AuthRoutes) LoginStart ¶
func (r *AuthRoutes) LoginStart(ctx context.Context, req *authpb.LoginStartRequest) (*authpb.LoginStartResponse, error)
func (*AuthRoutes) LoginVerify ¶
func (r *AuthRoutes) LoginVerify(ctx context.Context, req *authpb.LoginVerifyRequest) (*authpb.LoginVerifyResponse, error)
func (*AuthRoutes) ProtectedRoutes ¶
func (r *AuthRoutes) ProtectedRoutes() []string
func (*AuthRoutes) RegisterRouter ¶
func (r *AuthRoutes) RegisterRouter(s *grpc.Server)
Click to show internal directories.
Click to hide internal directories.