package
0.19.1-github
Repository: https://github.com/rguichard/pomerium.git
Documentation: pkg.go.dev

# Functions

FromOAuthToken converts a session oauth token to oauth2.Token.
New creates a new identity manager.
ToOAuthToken converts an oauth2.Token to a session oauth token.
WithAuthenticator sets the authenticator in the config.
WithDataBrokerClient sets the databroker client in the config.
WithDirectoryProvider sets the directory provider in the config.
WithEventManager passes an event manager to record events.
WithGroupRefreshInterval sets the group refresh interval used by the manager.
WithGroupRefreshTimeout sets the group refresh timeout used by the manager.
WithNow customizes the time.Now function used by the manager.
WithSessionRefreshCoolOffDuration sets the session refresh cool-off duration used by the manager.
WithSessionRefreshGracePeriod sets the session refresh grace period used by the manager.

# Structs

A Manager refreshes identity information using session and user data.
A Session is a session managed by the Manager.
A User is a user managed by the Manager.

# Interfaces

Authenticator is an identity.Provider with only the methods needed by the manager.

# Type aliases

An Option customizes the configuration used for the identity manager.