events

package
v1.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcquiredAccessToken

type AcquiredAccessToken struct {
	TokenName string `json:"token_name"`
}

AcquiredAccessToken - When `code` has been exchanged for an `access_token`.

func NewAcquiredAccessToken

func NewAcquiredAccessToken(tokenName string) AcquiredAccessToken

NewAcquiredAccessToken -

type AcquiredAllAccessTokens

type AcquiredAllAccessTokens struct {
	TokenNames []string `json:"token_names"`
}

AcquiredAllAccessTokens - When all `code`s have been exchanged for `access_token`s.

func NewAcquiredAllAccessTokens

func NewAcquiredAllAccessTokens(tokenNames []string) AcquiredAllAccessTokens

NewAcquiredAccessToken -

type Events

type Events interface {
	AddAcquiredAccessToken(acquiredAccessToken AcquiredAccessToken)
	TokensChannel() <-chan AcquiredAccessToken
	AllAcquiredAccessToken() []AcquiredAccessToken

	AddAcquiredAllAccessTokens(acquiredAllAccessTokens AcquiredAllAccessTokens)
	AllTokensChannel() <-chan AcquiredAllAccessTokens
	AllAcquiredAllAccessTokens() []AcquiredAllAccessTokens
}

Events -

func NewEvents

func NewEvents() Events

NewEvents -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL