Documentation ¶ Index ¶ func Bind(serverCtx *context.Context, group *echo.Group, auth Authenticator) func Required(serverCtx *context.Context) echo.MiddlewareFunc type Authenticator type UserProfile func (profile *UserProfile) AsUser() *users.User Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Bind ¶ func Bind(serverCtx *context.Context, group *echo.Group, auth Authenticator) func Required ¶ func Required(serverCtx *context.Context) echo.MiddlewareFunc Types ¶ type Authenticator ¶ type Authenticator interface { Authenticate(ctx echo.Context) error Callback(ctx echo.Context) (*UserProfile, error) } type UserProfile ¶ type UserProfile struct { Email string } func (*UserProfile) AsUser ¶ func (profile *UserProfile) AsUser() *users.User Source Files ¶ View all Source files bind.gomiddleware.goprofile.go Directories ¶ Show internal Expand all Path Synopsis facebook github google Click to show internal directories. Click to hide internal directories.