Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetAuthConfig (0.14 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ParallelDownloadsOnAuthenticatedRepoIntegrationTest.groovy

    class ParallelDownloadsOnAuthenticatedRepoIntegrationTest extends ParallelDownloadsIntegrationTest {
        private final static String USERNAME = 'username'
        private final static String PASSWORD = 'password'
    
        String getAuthConfig() {
            """
            credentials {
                username = '$USERNAME'
                password = '$PASSWORD'
            }
    
            authentication {
                auth(BasicAuthentication)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ParallelDownloadsIntegrationTest.groovy

        @Rule
        public BlockingHttpServer blockingServer = new BlockingHttpServer()
    
        def setup() {
            blockingServer.start()
        }
    
        String getAuthConfig() { '' }
    
        def "downloads artifacts in parallel from a Maven repo - #expression"() {
            def m1 = mavenRepo.module('test', 'test1', '1.0').publish()
            def m2 = mavenRepo.module('test', 'test2', '1.0').publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. pkg/wasm/imagefetcher.go

    	if err := cf.LoadFromReader(reader); err != nil {
    		return nil, err
    	}
    	key := target.RegistryStr()
    	if key == name.DefaultRegistry {
    		key = authn.DefaultAuthKey
    	}
    	cfg, err := cf.GetAuthConfig(key)
    	if err != nil {
    		return nil, err
    	}
    
    	empty := dtypes.AuthConfig{}
    	if cfg == empty {
    		return authn.Anonymous, nil
    	}
    	authConfig := authn.AuthConfig{
    		Username:      cfg.Username,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Dec 10 05:44:51 UTC 2023
    - 12K bytes
    - Viewed (0)
Back to top