Documentation ¶
Index ¶
- type DatastoreConnection
- func (d *DatastoreConnection) Init(urlStr string, l logrus.FieldLogger, _ ...config.ConnectorOptions) error
- func (d *DatastoreConnection) Namespace() string
- func (d *DatastoreConnection) NewClientManager(hasher fosite.Hasher) client.Manager
- func (d *DatastoreConnection) NewConsentManager(clientManager client.Manager, fs pkg.FositeStorer) consent.Manager
- func (d *DatastoreConnection) NewJWKManager(cipher *jwk.AEAD) jwk.Manager
- func (d *DatastoreConnection) NewOAuth2Manager(clientManager client.Manager, accessTokenLifespan time.Duration, _ string) pkg.FositeStorer
- func (d *DatastoreConnection) Ping() error
- func (d *DatastoreConnection) Prefixes() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatastoreConnection ¶
type DatastoreConnection struct {
// contains filtered or unexported fields
}
DatastoreConnection enables the use of Google's Datastore as a backend.
func (*DatastoreConnection) Init ¶
func (d *DatastoreConnection) Init(urlStr string, l logrus.FieldLogger, _ ...config.ConnectorOptions) error
func (*DatastoreConnection) Namespace ¶
func (d *DatastoreConnection) Namespace() string
Namespace will return the configured namespace for this backend, if any.
func (*DatastoreConnection) NewClientManager ¶
func (d *DatastoreConnection) NewClientManager(hasher fosite.Hasher) client.Manager
func (*DatastoreConnection) NewConsentManager ¶
func (d *DatastoreConnection) NewConsentManager(clientManager client.Manager, fs pkg.FositeStorer) consent.Manager
func (*DatastoreConnection) NewJWKManager ¶
func (d *DatastoreConnection) NewJWKManager(cipher *jwk.AEAD) jwk.Manager
func (*DatastoreConnection) NewOAuth2Manager ¶
func (d *DatastoreConnection) NewOAuth2Manager(clientManager client.Manager, accessTokenLifespan time.Duration, _ string) pkg.FositeStorer
func (*DatastoreConnection) Ping ¶
func (d *DatastoreConnection) Ping() error
func (*DatastoreConnection) Prefixes ¶
func (d *DatastoreConnection) Prefixes() []string
Click to show internal directories.
Click to hide internal directories.