Commit 99ac760d authored by Jan Wilken Dörrie's avatar Jan Wilken Dörrie Committed by Commit Bot

[Passwords] Update affiliation_api.proto

This change updates Chromium's copy of affiliation_api.proto to include
the latest server side changes with regard to change password URLs.

Bug: 437865
Change-Id: I566a5e05ff89ecc8d82d33e2a12dac5f28253522
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2351997
Auto-Submit: Jan Wilken Dörrie <jdoerrie@chromium.org>
Commit-Queue: Vasilii Sukhanov <vasilii@chromium.org>
Reviewed-by: default avatarVasilii Sukhanov <vasilii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797264}
parent 4387a131
...@@ -8,6 +8,10 @@ package affiliation_pb; ...@@ -8,6 +8,10 @@ package affiliation_pb;
option optimize_for = LITE_RUNTIME; option optimize_for = LITE_RUNTIME;
// The messages below mirror the corresponding messages on the server side.
// These should be updated once the server side changes.
// Synced version: http://shortn/_g0W3toNGei
// Contains a list of affiliated facets. // Contains a list of affiliated facets.
// Affiliated facets are allowed to share credentials among each other. // Affiliated facets are allowed to share credentials among each other.
message Affiliation { message Affiliation {
...@@ -37,6 +41,11 @@ message Facet { ...@@ -37,6 +41,11 @@ message Facet {
// http://somethinginvalid$%#^ -> somethinginvalid$%#^ // http://somethinginvalid$%#^ -> somethinginvalid$%#^
// android://xyz@com.facebook -> field is not populated // android://xyz@com.facebook -> field is not populated
optional string main_domain = 3; optional string main_domain = 3;
// Info about where the user can change a password stored for this Facet. This
// info should be considered valid for any other Facet in the same FacetGroup.
// Only present for Facets in a FacetGroup.
optional ChangePasswordInfo change_password_info = 4;
} }
// Message representing set of facets that should be grouped together in the UI. // Message representing set of facets that should be grouped together in the UI.
...@@ -93,9 +102,17 @@ message BrandingInfo { ...@@ -93,9 +102,17 @@ message BrandingInfo {
optional int32 icon_height = 5; optional int32 icon_height = 5;
} }
// Various methods through which a user can change a password for a single
// facet.
message ChangePasswordInfo {
// A URL to a change password form or flow.
optional string change_password_url = 1;
}
// Request mask for LookupAffiliationRequest. // Request mask for LookupAffiliationRequest.
// Next id: 8
message LookupAffiliationMask { message LookupAffiliationMask {
// If true, branding info for Android apps will be returned. // If true, branding info for all facets will be returned.
optional bool branding_info = 1; optional bool branding_info = 1;
// Preferred size of the icon returned in BrandingInfo or // Preferred size of the icon returned in BrandingInfo or
...@@ -118,6 +135,10 @@ message LookupAffiliationMask { ...@@ -118,6 +135,10 @@ message LookupAffiliationMask {
// grouping response. Can be set only if grouping_info and branding_info is // grouping response. Can be set only if grouping_info and branding_info is
// set to true. // set to true.
optional bool group_branding_info = 5; optional bool group_branding_info = 5;
// Whether to include change password infos in the response. Can be set only
// if grouping_info is set to true, as this is only populated for FacetGroups.
optional bool change_password_info = 7;
} }
// Request message for AffiliationService.Lookup. // Request message for AffiliationService.Lookup.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment