Documentation ¶
Index ¶
- type Backend
- func (b *Backend) Cleanup(ctx context.Context) error
- func (b *Backend) CreateAuthentication(ctx context.Context, id string, objective identity.AuthenticationObjective, ...) (*identity.Authentication, error)
- func (b *Backend) CreateUser(ctx context.Context, user *identity.User) (*identity.User, error)
- func (b *Backend) GetAuthentication(ctx context.Context, id string) (*identity.Authentication, error)
- func (b *Backend) GetUser(ctx context.Context, id string) (*identity.User, error)
- func (b *Backend) GetUserByIdentity(ctx context.Context, idnName, idn string) (*identity.User, error)
- func (b *Backend) RemoveAuthentication(ctx context.Context, id string) error
- func (b *Backend) SaveAuthentication(ctx context.Context, auth *identity.Authentication) (result *identity.Authentication, err error)
- func (b *Backend) SaveUser(ctx context.Context, user *identity.User) (result *identity.User, err error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func (*Backend) CreateAuthentication ¶
func (b *Backend) CreateAuthentication(ctx context.Context, id string, objective identity.AuthenticationObjective, userID string) (*identity.Authentication, error)
func (*Backend) CreateUser ¶
func (*Backend) GetAuthentication ¶
func (*Backend) GetUserByIdentity ¶
func (*Backend) RemoveAuthentication ¶
func (*Backend) SaveAuthentication ¶
func (b *Backend) SaveAuthentication(ctx context.Context, auth *identity.Authentication) (result *identity.Authentication, err error)
Click to show internal directories.
Click to hide internal directories.