URLCredential.Persistence.forSession The credential should be stored only for this session. Declarationcase forSession See AlsoPersistence strategiesURLCredential.Persistence.noneURLCredential.Persistence.permanentURLCredential.Persistence.synchronizable