feat: add method to get auth method

This commit is contained in:
Johan Siebens
2022-06-16 09:12:54 +02:00
parent 5e132392b3
commit d0e69cc2bf
6 changed files with 508 additions and 301 deletions
+9
View File
@@ -9,6 +9,15 @@ message AuthMethod {
string name = 3;
string issuer = 4;
string client_id = 5;
string client_secret = 6;
}
message GetAuthMethodRequest {
uint64 auth_method_id = 1;
}
message GetAuthMethodResponse {
AuthMethod auth_method = 1;
}
message CreateAuthMethodRequest {
+1
View File
@@ -26,6 +26,7 @@ service IonscaleService {
rpc GetDERPMap (GetDERPMapRequest) returns (GetDERPMapResponse) {}
rpc SetDERPMap (SetDERPMapRequest) returns (SetDERPMapResponse) {}
rpc GetAuthMethod (GetAuthMethodRequest) returns (GetAuthMethodResponse) {}
rpc CreateAuthMethod (CreateAuthMethodRequest) returns (CreateAuthMethodResponse) {}
rpc ListAuthMethods (ListAuthMethodsRequest) returns (ListAuthMethodsResponse) {}