Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newGlobalAuthNPluginFn (0.13 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top