Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
type Authorizer struct {
// contains filtered or unexported fields
}
func NewAuthorizer ¶
func (Authorizer) HandleProviderCallback ¶
func (a Authorizer) HandleProviderCallback(sctx *session.RequestContext, stateParam, codeParam string) (*goth.User, error)
func (Authorizer) RedirectToProvider ¶
func (a Authorizer) RedirectToProvider(sctx *session.RequestContext) error
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func (Factory) BuildAuthorizer ¶
func (f Factory) BuildAuthorizer(providerName string, isPrivate bool) (*Authorizer, error)
Click to show internal directories.
Click to hide internal directories.