Documentation
¶
Index ¶
- Variables
- func NewConsoleCache(c app_control.Control, auth api_auth.Console, app api_auth.App) api_auth.Console
- func NewConsoleCacheOnly(c app_control.Control, peerName string, app api_auth.App) api_auth.Console
- func NewConsoleOAuth(c app_control.Control, peerName string, app api_auth.App) api_auth.Console
- func NewConsoleRedirect(c app_control.Control, peerName string, app api_auth.App) api_auth.Console
- type Cached
- type Console
- type MsgApiAuth
- type OptInFeatureRedirect
- type Redirect
- type RedirectService
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorOAuthSequenceStopped = errors.New("the oauth sequence stopped") ErrorOAuthFailure = errors.New("oauth failure") ErrorOAuthCancelled = errors.New("auth cancelled") )
View Source
var (
MApiAuth = app_msg.Apply(&MsgApiAuth{}).(*MsgApiAuth)
)
Functions ¶
func NewConsoleCache ¶
func NewConsoleCacheOnly ¶
func NewConsoleOAuth ¶
func NewConsoleRedirect ¶
Types ¶
type MsgApiAuth ¶
type OptInFeatureRedirect ¶
type OptInFeatureRedirect struct {
app_feature.OptInStatus
}
type Redirect ¶
type Redirect struct {
// contains filtered or unexported fields
}
type RedirectService ¶
type RedirectService struct {
// contains filtered or unexported fields
}
func (*RedirectService) Result ¶
func (z *RedirectService) Result() (done, result bool, err error)
func (*RedirectService) Token ¶
func (z *RedirectService) Token() *oauth2.Token
func (*RedirectService) Url ¶
func (z *RedirectService) Url(redirectUrl string) string
func (*RedirectService) Verify ¶
func (z *RedirectService) Verify(state, code string) bool
Click to show internal directories.
Click to hide internal directories.