Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newGlobalAuthNPluginFn (0.09 sec)

  1. cmd/globals.go

    	// Indicates if server was started as `--address ":0"`
    	globalDynamicAPIPort bool
    
    	// Add new variable global values here.
    )
    
    var globalAuthPluginMutex sync.Mutex
    
    func newGlobalAuthNPluginFn() *idplugin.AuthNPlugin {
    	globalAuthPluginMutex.Lock()
    	defer globalAuthPluginMutex.Unlock()
    	return globalAuthNPlugin
    }
    
    func newGlobalAuthZPluginFn() *polplugin.AuthZPlugin {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (1)
  2. cmd/sts-handlers.go

    	defer logger.AuditLog(ctx, w, r, claims, auditLogFilterKeys...)
    
    	if !globalIAMSys.Initialized() {
    		writeSTSErrorResponse(ctx, w, ErrSTSIAMNotInitialized, errIAMNotInitialized)
    		return
    	}
    
    	authn := newGlobalAuthNPluginFn()
    	if authn == nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSNotInitialized, errors.New("STS API 'AssumeRoleWithCustomToken' is disabled"))
    		return
    	}
    
    	action := r.Form.Get(stsAction)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  3. cmd/iam.go

    	// Initialize RoleARNs
    	sys.rolesMap = make(map[arn.ARN]string)
    
    	// From OpenID
    	maps.Copy(sys.rolesMap, sys.OpenIDConfig.GetRoleInfo())
    
    	// From AuthN plugin if enabled.
    	if authn := newGlobalAuthNPluginFn(); authn != nil {
    		maps.Copy(sys.rolesMap, authn.GetRoleInfo())
    	}
    
    	sys.printIAMRoles()
    	sys.Unlock()
    
    	retryCtx, cancel := context.WithCancel(ctx)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
Back to top