mirror of
https://github.com/jsiebens/ionscale.git
synced 2026-03-31 15:07:49 +01:00
feat: add method to get auth method
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user