credentials

Get latest from Visual Studio Team Services using Command Line passing /login credentials with TF.exe

*爱你&永不变心* 提交于 2019-12-09 00:10:02
问题 Has anyone had success getting latest source code from the Visual Studio Team Services (formerly Visual Studio Online, Team Foundation Service) Version Control Server using the command line and passing in credentials programmatically? -I have discovered that you can't use the Windows ID credentials that you use to login to Team Explorer or the VSO website in the command line. You need to create Alternate Credentials for the user profile in Team Services. -I have found out that if you omit the

Swift3 iOS -Firebase FIREmailPasswordAuthProvider Not Working

只谈情不闲聊 提交于 2019-12-08 21:03:36
问题 I just upgraded my Firebase Cocoapods from 3.15.0 to 4.0.4 and FirebaseAuth Cocoapods from 3.1.1 to 4.0.0. I'm using email & password to authenticate users. When a user changes their email I was using this method below and everything was working fine: FIREmailPasswordAuthProviderID.credential(withEmail: emailTextField.text!, password: passwordTextField.text!) Now that I updated I get the error message Value of type 'String' has no member 'credential' I looked on the docs and it said to use

Will proxies cache HTTP Responses when authentication is provided?

自闭症网瘾萝莉.ら 提交于 2019-12-08 17:13:30
问题 Given a URI which has headers for caching properly configured. If two users make a request to the same URI but provide two different sets of credentials, will a proxy cache the response per user+URI, or per URI, or not at all? 回答1: The response will only be used for other users if the Cache-Control response header contains the public directive. Apart from that, the proxy must not cache a response to an authorized request. Read the section Authorization of the HTTP 1.1 standard for all the

Using Windows Credentials to instantiate OrganizationServiceProxy in CRM 2011

不想你离开。 提交于 2019-12-08 11:20:48
问题 Has anybody tried to use the Windows credentials to create an instance of OrganizationServiceProxy in CRM 2011 (On-Premise) ? I have a WCF service that uses <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows"/> </security> and I am able to confirm that the user is authenticated (OperationContext.Current.ServiceSecurityContext.WindowsIdentity.IsAuthenticated) but I don't know how to generate/pass the ClientCredentials to create an instance of the CRM service.

PasswordCredential BackgroundTransfer

岁酱吖の 提交于 2019-12-08 10:03:40
问题 Im creating a new BackgroundTransfer and adding Server Credentials: PasswordCredential webdavLogin = new PasswordCredential(); webdavLogin.UserName = ServerSettings.Values["serverUsername"].ToString(); webdavLogin.Password = ServerSettings.Values["serverPassword"].ToString(); uploader.ServerCredential = webdavLogin; Now the problem is, everytime i run the BackgroundTransfer, the following exception raises: Exception from HRESULT: 0x80070565 The maximum number of secrets that may be stored in

How to store user password for third party service in Python?

风格不统一 提交于 2019-12-08 10:02:33
问题 this doesn't necessarily entail a Python specific answer, but that is what I am using, Python 3.2 to be exact. I am also developing under Linux. I have a script that is connecting to a website, logging in, and obtaining information for the the user. How do I store the user's credentials safely? Or what is the best practice? Encryption seems silly since the encrypted credentials and encryption key would be in the same place. The only thing I can think of is storing in a file which has

Android: Store HTTP Basic password/username

与世无争的帅哥 提交于 2019-12-08 09:39:38
问题 I have a simple RESTful backend and I am using HTTP Basic over HTTPS for authentication. It works fine, but I am looking for a appropriate solution to store the credentials (username + password). There are a lot of examples out there and the majority suggest to use the Account Manager to store passwords. AFAIK the account manager stores only OAUTH (and similar) accounts and automatically generates tokens etc. But how can I use it to store and fetch the original passwords? Is it even possible?

CreateProcessWithLogonW() problems - Need to launch sub-processes with the same user

心不动则不痛 提交于 2019-12-08 05:34:35
问题 I have a Windows executable that is launched from within a service by calling CreateProcessWithLogonW() with a set of specfied user details. This works fine and the process starts as expected. However, when this process tries to launch other processes itself, currently just using CreateProcess() these start then die straight away - they are executables that require desktop access. After reading up on Microsoft's article on CreateProcess() - http://msdn.microsoft.com/en-us/library/ms682425(VS

CredentialCache.DefaultCredentials how to get the username and or password

最后都变了- 提交于 2019-12-08 04:05:43
问题 For debugging purpose I wanted to look in the value of username and password of CredentialCache.DefaultCredentials. I see that there are 2 properties of username and password in CredentialCache.DefaultCredentials and doing CredentialCache.DefaultCredentials.username CredentialCache.DefaultCredentials.passwrod does not print anything what should I do? 来源: https://stackoverflow.com/questions/40585014/credentialcache-defaultcredentials-how-to-get-the-username-and-or-password

AWS Which IAM Role For S3 Presigned URL

痴心易碎 提交于 2019-12-08 03:36:28
I am deploying a server program in an ec2 instance which needs to be able to create pre-signed urls for s3. So far I've had my AWS credentials in environment variables for testing, but I would like to switch to the IAM Role strategy now. However, I am unsure as to which policies the role should have access too. My initial guess is to have AmazonS3FullAccess, but the description says "Provides full access to all buckets via the AWS Management Console" but the ec2 instance will be using the c++ sdk, not the management console. Or is the policy not important, just that it has a policy so it gets