oauth2Kit

package
v2.8.180 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewDefaultManager = manage.NewDefaultManager()
View Source
var NewMemoryTokenStore func() (oauth2.TokenStore, error) = store.NewMemoryTokenStore

NewMemoryTokenStore

PS: 使用BuntDB,存储到内存中.

Functions

func NewRedisClusterStoreWithCli deprecated

func NewRedisClusterStoreWithCli(client *redis.ClusterClient, keyNamespace ...string) *oredis.TokenStore

NewRedisClusterStoreWithCli

Deprecated: go-oauth2/redis 使用的是 go-redis/redis/v8,版本太低了.

func NewRedisStore deprecated

func NewRedisStore(client *redis.Client, keyNamespace ...string) *oredis.TokenStore

NewRedisStore

Deprecated: go-oauth2/redis 使用的是 go-redis/redis/v8,版本太低了.

Types

This section is empty.

Jump to

Keyboard shortcuts

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