Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ProviderCfgs (0.1 sec)

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

    	if r == nil {
    		return Config{}
    	}
    	cfg := Config{
    		Enabled:            r.Enabled,
    		arnProviderCfgsMap: make(map[arn.ARN]*providerCfg, len(r.arnProviderCfgsMap)),
    		ProviderCfgs:       make(map[string]*providerCfg, len(r.ProviderCfgs)),
    		pubKeys:            r.pubKeys,
    		roleArnPolicyMap:   make(map[arn.ARN]string, len(r.roleArnPolicyMap)),
    		transport:          r.transport,
    		closeRespFn:        r.closeRespFn,
    	}
    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. internal/config/identity/openid/jwt_test.go

    	}
    	provider.JWKS.URL = u1
    	cfg := Config{
    		Enabled: true,
    		pubKeys: pubKeys,
    		arnProviderCfgsMap: map[arn.ARN]*providerCfg{
    			DummyRoleARN: &provider,
    		},
    		ProviderCfgs: map[string]*providerCfg{
    			"1": &provider,
    		},
    		closeRespFn: func(rc io.ReadCloser) {
    			rc.Close()
    		},
    	}
    
    	var claims jwtgo.MapClaims
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. cmd/common-main.go

    		os.Setenv("CONSOLE_SECURE_REFERRER_POLICY", valueRefer)
    	}
    
    	globalSubnetConfig.ApplyEnv()
    }
    
    func buildOpenIDConsoleConfig() consoleoauth2.OpenIDPCfg {
    	pcfgs := globalIAMSys.OpenIDConfig.ProviderCfgs
    	m := make(map[string]consoleoauth2.ProviderConfig, len(pcfgs))
    	for name, cfg := range pcfgs {
    		callback := getConsoleEndpoints()[0] + "/oauth_callback"
    		if cfg.RedirectURI != "" {
    			callback = cfg.RedirectURI
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top