Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Oauth2Context ¶
type Oauth2Context struct { Options *Oauth2ContextOptions SuccessCallbackPath string ErrorCallbackPath string // contains filtered or unexported fields }
func Get ¶
func Get() *Oauth2Context
func New ¶
func New(l *restapi.HttpListener, options *Oauth2ContextOptions) *Oauth2Context
func (*Oauth2Context) GetErrorCallbackRedirectPath ¶
func (ctx *Oauth2Context) GetErrorCallbackRedirectPath() string
func (*Oauth2Context) GetSuccessCallbackRedirectPath ¶
func (ctx *Oauth2Context) GetSuccessCallbackRedirectPath() string
func (*Oauth2Context) RegisterProvider ¶
func (ctx *Oauth2Context) RegisterProvider(provider adapters.OAuth2Provider)
type Oauth2ContextOptions ¶
func NewOAuthContextOptions ¶
func NewOAuthContextOptions() *Oauth2ContextOptions
Click to show internal directories.
Click to hide internal directories.