Documentation
¶
Index ¶
- func Handler(oracle *session.Oracle) (http.Handler, error)
- type Server
- func (s *Server) CreateSession(ctx context.Context, req api.CreateSessionRequestObject) (api.CreateSessionResponseObject, error)
- func (s *Server) GenerateTotp(ctx context.Context, req api.GenerateTotpRequestObject) (api.GenerateTotpResponseObject, error)
- func (s *Server) GetSession(ctx context.Context, req api.GetSessionRequestObject) (api.GetSessionResponseObject, error)
- func (s *Server) PostToc(ctx context.Context, req api.PostTocRequestObject) (api.PostTocResponseObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CreateSession ¶
func (s *Server) CreateSession(ctx context.Context, req api.CreateSessionRequestObject) (api.CreateSessionResponseObject, error)
func (*Server) GenerateTotp ¶
func (s *Server) GenerateTotp(ctx context.Context, req api.GenerateTotpRequestObject) (api.GenerateTotpResponseObject, error)
func (*Server) GetSession ¶
func (s *Server) GetSession(ctx context.Context, req api.GetSessionRequestObject) (api.GetSessionResponseObject, error)
func (*Server) PostToc ¶
func (s *Server) PostToc(ctx context.Context, req api.PostTocRequestObject) (api.PostTocResponseObject, error)
Click to show internal directories.
Click to hide internal directories.