Documentation ¶
Index ¶
- Variables
- type Server
- func (s *Server) AuthenticateToken(ctx context.Context, in *authpb.AuthenticateTokenRequest) (*authpb.AuthenticateTokenResponse, error)
- func (s *Server) GetToken(ctx context.Context, in *authpb.GetTokenRequest) (*authpb.GetTokenResponse, error)
- func (s *Server) RefreshToken(ctx context.Context, in *authpb.RefreshTokenRequest) (*authpb.RefreshTokenResponse, error)
- func (s *Server) SayHello(ctx context.Context, in *authpb.PingMessage) (*authpb.PingMessage, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigParseError = fmt.Errorf("Error while parsing the config")
View Source
var UsersServiceNotFoundError = fmt.Errorf("Users service not configured in config")
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { authpb.UnimplementedAuthServiceServer Log *zlog.ZwitLogger }
func (*Server) AuthenticateToken ¶
func (s *Server) AuthenticateToken(ctx context.Context, in *authpb.AuthenticateTokenRequest) (*authpb.AuthenticateTokenResponse, error)
func (*Server) GetToken ¶
func (s *Server) GetToken(ctx context.Context, in *authpb.GetTokenRequest) (*authpb.GetTokenResponse, error)
func (*Server) RefreshToken ¶
func (s *Server) RefreshToken(ctx context.Context, in *authpb.RefreshTokenRequest) (*authpb.RefreshTokenResponse, error)
func (*Server) SayHello ¶
func (s *Server) SayHello(ctx context.Context, in *authpb.PingMessage) (*authpb.PingMessage, error)
Click to show internal directories.
Click to hide internal directories.