@@ -13,13 +13,12 @@ message SignInRequest {
1313 // Account registration details
1414 AccountDetails details = 1 [(options.optional ) = true ];
1515
16- // DEPRECATED, will be removed April 1st 2023
17- // Invitation code associated with this registration
18- string invitation_code = 2 [(options.optional ) = true , deprecated = true ];
19-
2016 // ID of Ecosystem to use
2117 // Ignored if `invitation_code` is passed
2218 string ecosystem_id = 3 [(options.optional ) = true ];
19+
20+ reserved 2 ;
21+ reserved "invitation_code" ;
2322}
2423
2524// Account registration details
@@ -77,7 +76,6 @@ message AccountProfile {
7776 // If token protection is enabled, implementations must supply
7877 // protection secret before using the token for authentication.
7978 TokenProtection protection = 4 ;
80-
8179}
8280
8381// Token protection info
@@ -97,9 +95,6 @@ message AccountInfoResponse {
9795 // The account details associated with
9896 // the calling request context
9997 AccountDetails details = 1 ;
100- // DEPRECATED, will be removed April 1st 2023
101- // Use `ecosystem_id` instead
102- repeated AccountEcosystem ecosystems = 2 [deprecated = true ];
10398 // The wallet ID associated with this account
10499 string wallet_id = 3 ;
105100 // The device ID associated with this account session
@@ -110,38 +105,25 @@ message AccountInfoResponse {
110105 // This DID is used as the `issuer` when signing verifiable credentials
111106 string public_did = 6 ;
112107
113- // Webhook events, if any, this wallet has authorized
114- reserved 7 ;
115- reserved "authorized_webhooks" ;
116-
117108 // List of active authentication tokens for this wallet.
118109 // This list does not contain the issued token, only metadata
119110 // such as ID, description, and creation date.
120111 repeated WalletAuthToken auth_tokens = 8 ;
121- }
122112
123- // Deprecated
124- message AccountEcosystem {
125- string id = 1 ;
126- string name = 2 ;
127- string description = 3 ;
128- string uri = 4 ;
113+ reserved 2 , 7 ;
114+ reserved "ecosystems", "authorized_webhooks" ;
129115}
130116
131- // Login
132-
133117// Request to begin login flow
134118message LoginRequest {
135119 // Email address of account. If unspecified, an anonymous account will be created.
136120 string email = 1 [(options.optional ) = true ];
137121
138- // DEPRECATED, will be removed April 1st 2023
139- // Invitation code associated with this registration
140- string invitation_code = 2 [(options.optional ) = true , deprecated = true ];
141-
142122 // ID of Ecosystem to sign into.
143- // Ignored if `invitation_code` is passed.
144123 string ecosystem_id = 3 [(options.optional ) = true ];
124+
125+ reserved 2 ;
126+ reserved "invitation_code" ;
145127}
146128
147129// Response to `LoginRequest`
@@ -174,19 +156,6 @@ message LoginConfirmResponse {
174156 AccountProfile profile = 1 ;
175157}
176158
177- // Request to authorize Ecosystem provider to receive webhooks for events
178- // which occur on this wallet.
179- message AuthorizeWebhookRequest {
180- option deprecated = true ;
181- // Events to authorize access to. Default is "*" (all events)
182- repeated string events = 1 ;
183- }
184-
185- // Response to `AuthorizeWebhookRequest`
186- message AuthorizeWebhookResponse {
187- option deprecated = true ;
188- }
189-
190159// Information about authenticaton tokens for a wallet
191160message WalletAuthToken {
192161 // Unique identifier for the token.
@@ -225,9 +194,4 @@ service Account {
225194 option deprecated = true ;
226195 option (options.sdk_template_option ).no_arguments = true ;
227196 }
228-
229- // Authorize Ecosystem to receive webhook events
230- rpc AuthorizeWebhook (AuthorizeWebhookRequest ) returns (AuthorizeWebhookResponse ){
231- option (options.sdk_template_option ).ignore = true ;
232- }
233197}
0 commit comments