data

package
v0.0.0-...-f0a7105 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is data providers.

Functions

func NewAuthenticator

func NewAuthenticator(cfg *conf.Bootstrap) authnengine.Authenticator

func NewAuthorizer

func NewAuthorizer() authzengine.Engine

func NewDiscovery

func NewDiscovery(cfg *conf.Bootstrap) kratosregistry.Discovery

func NewRedisClient

func NewRedisClient(cfg *conf.Bootstrap) *redis.Client

func NewUserTokenRepo

func NewUserTokenRepo(data *Data, authenticator authnengine.Authenticator, logger log.Logger) *cache.UserToken

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

Data .

func NewData

func NewData(rdb *redis.Client,
	authenticator authnengine.Authenticator,
	authorizer authzengine.Engine,
	logger log.Logger,
) (*Data, func(), error)

NewData .

Jump to

Keyboard shortcuts

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