dirauthentik

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package dirauthentik implements an Authentik directory provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	URL                string
	Token              string
	HTTPClient         *http.Client
	Path               string
	GroupsByName       []string
	Types              []string
	NameAttribute      string
	BirthDateAttribute string
	MFAResetFlowUUID   string
}

Provider represents the configuration details required to connect to Authentik.

func (*Provider) Configure

Configure returns static information about the integration.

func (*Provider) GetAccount

GetAccount fetches accounts given one of its external IDs.

Because multiple accounts could match an external ID, it is possible than multiple accounts could be returned. The caller must handle this case, which is probably an error.

func (*Provider) ListAccounts

ListAccounts returns a partial list of accounts. Callers should use Cursor to page through multiple pages of results.

func (*Provider) ListGroups

ListGroups returns the directory groups that match the given name prefix.

func (*Provider) PerformOperation

PerformOperation performs the specified recovery operation.

Jump to

Keyboard shortcuts

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