Skip to content
Snippets Groups Projects
Commit 12c0b474 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-7092 refactor protobuf model

parent e09c5070
No related branches found
No related tags found
1 merge request!1OZG-7092 Anpassung TokenChecker
......@@ -12,29 +12,23 @@ message GrpcCheckTokenRequest {
message GrpcCheckTokenResponse {
bool tokenValid = 1;
oneof checkTokenResults {
GrpcCheckTokenResult tokenCheckResult = 2;
oneof checkTokenResult {
GrpcTokenAttributes tokenAttributes = 2;
GrpcCheckError checkError = 3;
}
}
message GrpcCheckTokenResult {
message GrpcTokenAttributes {
string postfachId = 1;
string trustLevel = 2;
repeated GrpcTokenAttribute otherFields = 3;
repeated GrpcOtherFields otherFields = 3;
}
message GrpcTokenAttribute {
message GrpcOtherFields {
string name = 1;
string value = 2;
}
message GrpcCheckError {
string message = 1;
repeated GrpcSamlError samlError = 2;
}
message GrpcSamlError {
string errorCode = 1;
string description = 2;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment