Documentation ¶
Index ¶
- type Service
- func (s Service) GetRoutes() []req.RouteHandler
- func (s Service) Metadata() interface{}
- func (s Service) Name() string
- func (s Service) OAuthUserProfileLoader(client *http.Client) (token auth.Token, _ error)
- func (s Service) ParseRequestAuth(req http.Request) (*auth.Token, error)
- func (s Service) VerifyAuthorization(_ http.Request, _ *auth.Token) error
- type ServiceFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
func NewService ¶
func (Service) GetRoutes ¶
func (s Service) GetRoutes() []req.RouteHandler
func (Service) OAuthUserProfileLoader ¶
func (Service) ParseRequestAuth ¶
type ServiceFactory ¶
type ServiceFactory struct {
// contains filtered or unexported fields
}
func NewServiceFactory ¶
func NewServiceFactory(endpointURL string, failureURL string, successURL string) ServiceFactory
func (ServiceFactory) Type ¶
func (f ServiceFactory) Type() string
Click to show internal directories.
Click to hide internal directories.