Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ProviderEnabled (0.08 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)
Back to top