Documentation ¶
Index ¶
- Variables
- type AuthStepType
- type AuthV1
- func (v1 *AuthV1) BeginAuth(c *api.LegatoContext, _ *authv1.BeginAuthRequest) (*authv1.BeginAuthResponse, error)
- func (v1 *AuthV1) CheckLoggedIn(_ *api.LegatoContext, _ *authv1.CheckLoggedInRequest) (*authv1.CheckLoggedInResponse, error)
- func (v1 *AuthV1) Federate(c *api.LegatoContext, _ *authv1.FederateRequest) (*authv1.FederateResponse, error)
- func (v1 *AuthV1) Key(_ *api.LegatoContext, _ *authv1.KeyRequest) (*authv1.KeyResponse, error)
- func (v1 *AuthV1) LoginFederated(_ *api.LegatoContext, _ *authv1.LoginFederatedRequest) (*authv1.LoginFederatedResponse, error)
- func (v1 *AuthV1) NextStep(c *api.LegatoContext, req *authv1.NextStepRequest) (*authv1.NextStepResponse, error)
- func (v1 *AuthV1) StepBack(c *api.LegatoContext, req *authv1.StepBackRequest) (*authv1.StepBackResponse, error)
- func (v1 *AuthV1) StreamSteps(ctx *api.LegatoContext, stream chan *authv1.StreamStepsRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorNoSuchStep = errors.New("no step in enum for given string")
Functions ¶
This section is empty.
Types ¶
type AuthStepType ¶
type AuthStepType int
const ( InitialStep AuthStepType = iota LoginStep RegisterStep )
type AuthV1 ¶
type AuthV1 struct {
// contains filtered or unexported fields
}
func (*AuthV1) BeginAuth ¶
func (v1 *AuthV1) BeginAuth(c *api.LegatoContext, _ *authv1.BeginAuthRequest) (*authv1.BeginAuthResponse, error)
func (*AuthV1) CheckLoggedIn ¶
func (v1 *AuthV1) CheckLoggedIn(_ *api.LegatoContext, _ *authv1.CheckLoggedInRequest) (*authv1.CheckLoggedInResponse, error)
func (*AuthV1) Federate ¶
func (v1 *AuthV1) Federate(c *api.LegatoContext, _ *authv1.FederateRequest) (*authv1.FederateResponse, error)
func (*AuthV1) Key ¶
func (v1 *AuthV1) Key(_ *api.LegatoContext, _ *authv1.KeyRequest) (*authv1.KeyResponse, error)
func (*AuthV1) LoginFederated ¶
func (v1 *AuthV1) LoginFederated(_ *api.LegatoContext, _ *authv1.LoginFederatedRequest) (*authv1.LoginFederatedResponse, error)
func (*AuthV1) NextStep ¶
func (v1 *AuthV1) NextStep(c *api.LegatoContext, req *authv1.NextStepRequest) (*authv1.NextStepResponse, error)
func (*AuthV1) StepBack ¶
func (v1 *AuthV1) StepBack(c *api.LegatoContext, req *authv1.StepBackRequest) (*authv1.StepBackResponse, error)
func (*AuthV1) StreamSteps ¶
func (v1 *AuthV1) StreamSteps(ctx *api.LegatoContext, stream chan *authv1.StreamStepsRequest, res chan *authv1.StreamStepsResponse) error
Click to show internal directories.
Click to hide internal directories.