Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserManager ¶
func NewUserManager(opts CreationOptions) (gimlet.UserManager, error)
NewUserManager creates a manager that connects to Okta for user management services.
Types ¶
type CreationOptions ¶
type CreationOptions struct { ClientID string ClientSecret string RedirectURI string Issuer string UserGroup string AllowReauthorization bool // If set, authentication and reauthorization will validate the group for // the user matches UserGroup. Otherwise, it simply checks that the user // attempting to reauthorize has the same name as that returned by the ID // token. ValidateGroups bool CookiePath string CookieDomain string CookieTTL time.Duration LoginCookieName string LoginCookieTTL time.Duration UserCache usercache.Cache ExternalCache *usercache.ExternalOptions GetHTTPClient func() *http.Client PutHTTPClient func(*http.Client) // ReconciliateID is only used for the purposes of reconciliating existing // user IDs with their Okta IDs. ReconciliateID func(id string) (newID string) }
CreationOptions specify the options to create the manager.
func (*CreationOptions) Validate ¶
func (opts *CreationOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.