Documentation ¶ Index ¶ func DecryptToken(encoded string, key []byte) (string, error) func EncryptToken(plaintext string, key []byte) (string, error) type Provider func NewProvider(clientID, clientSecret, redirectURL string) *Provider Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DecryptToken ¶ func DecryptToken(encoded string, key []byte) (string, error) func EncryptToken ¶ func EncryptToken(plaintext string, key []byte) (string, error) Types ¶ type Provider ¶ type Provider struct { Config *oauth2.Config } func NewProvider ¶ func NewProvider(clientID, clientSecret, redirectURL string) *Provider Source Files ¶ View all Source files auth.go Click to show internal directories. Click to hide internal directories.