Documentation ¶
Index ¶
- type Auth
- func (a *Auth) Consent(w http.ResponseWriter, r *http.Request) (*v1.GrantConsentResponse, error)
- func (a *Auth) ConsentGet(w http.ResponseWriter, r *http.Request) (*v1.GetConsentResponse, error)
- func (a *Auth) LoginGet(w http.ResponseWriter, r *http.Request) (*v1.GetLoginResponse, error)
- func (a *Auth) LoginOutGet(w http.ResponseWriter, r *http.Request) (*v1.GetLogoutResponse, error)
- func (a *Auth) LoginPost(w http.ResponseWriter, r *http.Request) (*v1.WebLoginAuthReply, error)
- func (a *Auth) Logout(w http.ResponseWriter, r *http.Request) (*v1.LogoutResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
func NewAuth ¶
func NewAuth( reqDecoder http2.DecodeRequestFunc, um *biz.UserManager, l log.Logger, signIn *biz.SignInManager, hclient *client.APIClient, ) *Auth
func (*Auth) Consent ¶
func (a *Auth) Consent(w http.ResponseWriter, r *http.Request) (*v1.GrantConsentResponse, error)
func (*Auth) ConsentGet ¶
func (a *Auth) ConsentGet(w http.ResponseWriter, r *http.Request) (*v1.GetConsentResponse, error)
func (*Auth) LoginGet ¶
func (a *Auth) LoginGet(w http.ResponseWriter, r *http.Request) (*v1.GetLoginResponse, error)
func (*Auth) LoginOutGet ¶
func (a *Auth) LoginOutGet(w http.ResponseWriter, r *http.Request) (*v1.GetLogoutResponse, error)
func (*Auth) LoginPost ¶
func (a *Auth) LoginPost(w http.ResponseWriter, r *http.Request) (*v1.WebLoginAuthReply, error)
func (*Auth) Logout ¶
func (a *Auth) Logout(w http.ResponseWriter, r *http.Request) (*v1.LogoutResponse, error)
Click to show internal directories.
Click to hide internal directories.