credential-manager

Which methods of Google OAuth2 API accept login_hint as a parameter

只谈情不闲聊 提交于 2021-01-27 08:50:14
问题 I am using the Google Sign-In JavaScript client and also referencing the Example App The example app (app.js) tells me that login_hint is a valid option for the signIn method: // If the user is not signed in with expected account, let sign in. return auth2.signIn({ // Set `login_hint` to specify an intended user account, // otherwise user selection dialog will popup. login_hint: id || '' }); But the reference manual does not say it does anything there but is only effective with the authorize(

Where is my remote git repository password stored on the local machine?

亡梦爱人 提交于 2020-11-30 08:26:33
问题 I have a git repository set up on bitbucket $ git remote -v origin https://myusername@bitbucket.org/myusername/my_repository_name.git (fetch) origin https://myusername@bitbucket.org/myusername/my_repository_name.git (push) I pull and push to the repository from my office workstation and home PC. When I push or pull from my office workstation, it prompts me for the password. However when I push or pull from my home PC it doesn't prompt for a password. I don't specifically remember what I did

Where is my remote git repository password stored on the local machine?

一世执手 提交于 2020-11-30 08:20:07
问题 I have a git repository set up on bitbucket $ git remote -v origin https://myusername@bitbucket.org/myusername/my_repository_name.git (fetch) origin https://myusername@bitbucket.org/myusername/my_repository_name.git (push) I pull and push to the repository from my office workstation and home PC. When I push or pull from my office workstation, it prompts me for the password. However when I push or pull from my home PC it doesn't prompt for a password. I don't specifically remember what I did

LibGit2Sharp and Authentication UI

末鹿安然 提交于 2020-01-14 14:18:10
问题 I'm working with LibGit2Sharp to add a number of Git operations to an application. I've added the Microsoft.Alm.Authentication to help with Authentication and credential manager access. It works great for retrieving credentials that are already entered from the command line. However is there any way to also hook into the Credential Manager's Login UI that prompts for username and password for Github, BitBucket and VSTS. This UI pops up automatically from the command line, but doesn't fire

How to add Windows Credentials to Credentials Manager on Windows programmatically?

巧了我就是萌 提交于 2020-01-02 08:04:34
问题 I have looked at this question's selected answer Retrieve Credentials from Windows Credentials Store using C# , which uses the CredentialManagement NuGet package to get and set credentials on Windows. Credential Management package is a wrapper for the Windows Credential Management API that supports both the old and the new style of UI I was able to set new credentials that way, however they were set as Generic Credentials . public static bool SetCredentials( string target, string username,

CredRead() not working across login sessions

最后都变了- 提交于 2019-12-23 13:03:43
问题 I am using the Credential Manager API as per this answer. Quoting relevant code snippet: public static Credential ReadCredential(string applicationName) { IntPtr nCredPtr; bool read = CredRead(applicationName, CredentialType.Generic, 0, out nCredPtr); if (read) { using (CriticalCredentialHandle critCred = new CriticalCredentialHandle(nCredPtr)) { CREDENTIAL cred = critCred.GetCredential(); return ReadCredential(cred); } } return null; } It works great, except that when I log off my Windows

Wincred not working properly with Git Bash(Git for Windows) when executing certain commands like “prune”

不想你离开。 提交于 2019-12-09 23:45:41
问题 I have setup GitforWindows in my Windows 7 64Bit pretty well with Credential manager as "Wincred". Yet when I run some commands like git remote prune origin in GitBash, it gives following error in console, though runs the command: Failed to load advapi32.dll Why is that ? If there is something need to be done with Credential manager settings, then I need full explanation of how to do those settings and what each setting means. Note: This problem I have only with some commands, other commands

Git-Credential-Manager-for-Windows also saves invalid credentials

霸气de小男生 提交于 2019-12-08 03:33:25
问题 I am using the Git-Credential-Manager-for-Windows version 1.6.0 (also tried 1.5.0) from here: https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases The Git-Credential-Manager-for-Windows is included Git for Windows I am using (tried 2.9.3 and 2.9.2) https://github.com/git-for-windows/git/releases I have the following problem: If you activate the credential manager and e.g. pull a repository, you get asked for your login-credentials. The credentials get saved in the windows

Google Smart Lock vs Credential Management API

天大地大妈咪最大 提交于 2019-12-05 02:24:20
问题 I want to implement frictionless sign in process for my web app. After some searching, I have found that there are two solutions available : Google Smart Lock. Credential Managment API. My question is , What is the difference between the two API's (if any) and what are the possible use cases for both of these. From what I have understood, both allow us to save account related info. But the advantage with smart lock is, that saved credentials can be used in corresponding android apps as well.

Wincred not working properly with Git Bash(Git for Windows) when executing certain commands like “prune”

别来无恙 提交于 2019-12-04 20:20:40
I have setup GitforWindows in my Windows 7 64Bit pretty well with Credential manager as "Wincred". Yet when I run some commands like git remote prune origin in GitBash, it gives following error in console, though runs the command: Failed to load advapi32.dll Why is that ? If there is something need to be done with Credential manager settings, then I need full explanation of how to do those settings and what each setting means. Note: This problem I have only with some commands, other commands are running just fine without any errors. If you are using the latest Git for Windows , make sure to