# 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.
# 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.