Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newGlobalAuthNPluginFn (0.28 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top