Documentation ¶
Index ¶
- type Service
- func (s Service) GetRoutes() []req.RouteHandler
- func (s Service) IsAuthorized(_ http.Request, _ *auth.Token) (bool, error)
- 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)
- 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) IsAuthorized ¶
func (Service) OAuthUserProfileLoader ¶
type ServiceFactory ¶
type ServiceFactory struct {
// contains filtered or unexported fields
}
func NewServiceFactory ¶
func NewServiceFactory(endpointURL string) ServiceFactory
func (ServiceFactory) Type ¶
func (f ServiceFactory) Type() string
Click to show internal directories.
Click to hide internal directories.