Add a password field to the account identities
Some types of identities, e.g. "username:", now support having an optional password generated alongside of them. This can be used in the future to authenticate the user. Currently we intend to use this only for authentication over HTTP, so we generate the password for the user as they would need to store it into a local ~/.netrc. We don't want them to reuse an existing password that might be vulnerable. Change-Id: I047a97f00249c81638625d7654087ea71f8f386a Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -43,7 +43,11 @@ public interface AccountSecurity extends RemoteJsonService {
|
||||
AsyncCallback<VoidResult> callback);
|
||||
|
||||
@SignInRequired
|
||||
void changeSshUserName(String newName, AsyncCallback<VoidResult> callback);
|
||||
void changeUserName(String newName, AsyncCallback<VoidResult> callback);
|
||||
|
||||
@SignInRequired
|
||||
void generatePassword(AccountExternalId.Key key,
|
||||
AsyncCallback<AccountExternalId> callback);
|
||||
|
||||
@SignInRequired
|
||||
void myExternalIds(AsyncCallback<List<AccountExternalId>> callback);
|
||||
|
||||
Reference in New Issue
Block a user