auth

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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