Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { Authorize(handle httprouter.Handle, _ ...string) httprouter.Handle RegisterClient(r *http.Request) (string, error) RevokeClient(r *http.Request) error GetAccessToken() string //GetAccessToken returns temporary access token for protected resources Log(logLine string) []error //write log with preset log writer }
Provider represents authentication provider.
Click to show internal directories.
Click to hide internal directories.