Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ProviderEnabled (0.07 sec)

  1. internal/config/identity/openid/openid.go

    	}
    	// Without any specific logic for a provider, all accounts
    	// are always enabled.
    	return provider.User{ID: userid, Enabled: true}, nil
    }
    
    // ProviderEnabled returns true if any vendor specific provider is enabled.
    func (r Config) ProviderEnabled() bool {
    	if !r.Enabled {
    		return false
    	}
    	for _, v := range r.arnProviderCfgsMap {
    		if v.provider != nil {
    			return true
    		}
    	}
    	return false
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. cmd/iam.go

    				// from LDAP/OpenID.
    				if sys.LDAPConfig.Enabled() {
    					sys.purgeExpiredCredentialsForLDAP(ctx)
    					sys.updateGroupMembershipsForLDAP(ctx)
    				}
    				if sys.OpenIDConfig.ProviderEnabled() {
    					sys.purgeExpiredCredentialsForExternalSSO(ctx)
    				}
    			}
    
    			timer.Reset(waitInterval())
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top