Documentation ¶
Index ¶
- func Run(addr string) error
- type Server
- func (s *Server) CheckSignature(req *refreshTokenProto.TokenRequest) error
- func (s *Server) DestroyRefreshToken(stream refreshTokenProto.RefreshToken_DestroyRefreshTokenServer) error
- func (s *Server) RefreshToken(_ context.Context, req *refreshTokenProto.TokenRequest) (*refreshTokenProto.AccessToken, error)
- func (s *Server) VerifyAccessToken(_ context.Context, req *refreshTokenProto.TokenRequest) (*refreshTokenProto.AccessTokenInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
refreshTokenProto.UnimplementedRefreshTokenServer
}
func (*Server) CheckSignature ¶
func (s *Server) CheckSignature(req *refreshTokenProto.TokenRequest) error
func (*Server) DestroyRefreshToken ¶
func (s *Server) DestroyRefreshToken(stream refreshTokenProto.RefreshToken_DestroyRefreshTokenServer) error
func (*Server) RefreshToken ¶
func (s *Server) RefreshToken(_ context.Context, req *refreshTokenProto.TokenRequest) (*refreshTokenProto.AccessToken, error)
func (*Server) VerifyAccessToken ¶
func (s *Server) VerifyAccessToken(_ context.Context, req *refreshTokenProto.TokenRequest) (*refreshTokenProto.AccessTokenInfo, error)
Click to show internal directories.
Click to hide internal directories.