storage

package
v0.0.0-...-f7da856 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2021 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSource

type DataSource interface {
	HasProviderIdentity(*identity.IdentityProviderReq) (bool, error)
	HasIdentity(*jsonapi.IdRequest) (bool, error)
	GetIdentity(*jsonapi.IdRequest) (Result, error)
	GetIdentityWithAttr(*jsonapi.IdRequest, []string) (Result, error)
	GetProviderIdentity(*identity.IdentityProviderReq) (Result, error)
	CreateIdentity(*identity.NewIdentityAttributes) (Result, error)
	DeleteIdentity(*jsonapi.IdRequest) (bool, error)
	ClearIdentities() error
}

type Result

type Result interface {
	NotFound() bool
	GetId() int64
	GetAttributes() *identity.IdentityAttributes
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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