Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Deprecate older connect.proto services (#3903) #1638

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions proto/services/connect/v1/connect.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import "services/common/v1/common.proto";
import "services/universal-wallet/v1/universal-wallet.proto";

import "services/google/api/annotations.proto";
import "services/options/field-options.proto";

// The type of verification to perform
enum VerificationType {
Expand Down Expand Up @@ -353,6 +354,7 @@ enum SessionOrdering {
service Connect {
// Create an IDVSession
rpc CreateSession(CreateSessionRequest) returns (CreateSessionResponse) {
option (options.sdk_template_option).deprecated = {active: true};
option (google.api.http) = {
post: "/v1/connect/createsession"
body: "*"
Expand All @@ -361,6 +363,7 @@ service Connect {

// Cancel an IDVSession
rpc CancelSession(CancelSessionRequest) returns (CancelSessionResponse) {
option (options.sdk_template_option).deprecated = {active: true};
option (google.api.http) = {
post: "/v1/connect/cancelsession"
body: "*"
Expand All @@ -369,6 +372,7 @@ service Connect {

// Get an IDVSession
rpc GetSession(GetSessionRequest) returns (GetSessionResponse) {
option (options.sdk_template_option).deprecated = {active: true};
option (google.api.http) = {
post: "/v1/connect/getsession"
body: "*"
Expand All @@ -377,6 +381,7 @@ service Connect {

// List IDVSessions created by the calling wallet
rpc ListSessions(ListSessionsRequest) returns (ListSessionsResponse) {
option (options.sdk_template_option).deprecated = {active: true};
option (google.api.http) = {
post: "/v1/connect/listsessions"
body: "*"
Expand All @@ -385,6 +390,7 @@ service Connect {

// Checks if the identity provided in the request has a wallet containing a valid reusable credential
rpc HasValidCredential(HasValidCredentialRequest) returns (HasValidCredentialResponse) {
option (options.sdk_template_option).deprecated = {active: true};
option (google.api.http) = {
post: "/v1/connect/hasvalidcredential"
body: "*"
Expand Down
Loading