You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
okapi/protobuf/okapi-onboarding.proto

49 lines
1.1 KiB

syntax = "proto3";
option go_package = "src.whiteboxsystems.nl/decozo/okapi";
enum XISAuthMethod {
mTLS = 0;
}
message MTLSConfigurationParams {
// JWK (RFC 7517) presentatie van publieke sleutel van het
// client certificaat dat gebruikt gaat worden voor het opzetten
// van de verbinding.
// Voorbeeld: "{\"crv\":\"P-256\",\"kty\":\"EC\",\"x\":\"PZlyqX3X...\", \"y\":\"AawwPSKBt...\"}"
string publicKey = 1;
}
message XISAuthConfiguration {
XISAuthMethod method = 1;
oneof configuration {
MTLSConfigurationParams mtlsConfiguration = 2;
}
}
message GetMetadataRequest {}
message GetMetadataResponse {
string supplierFormalName = 1;
string supplierDisplayName = 2;
string productName = 3;
string version = 4;
}
message RegisterRequest {
string organisationFormalName = 1;
string organisationDisplayName = 2;
string organisationIdentifier = 3;
string organisationIdentifierType = 4; // Type bijv. AGB, BIG registratie of KvK
XISAuthConfiguration auth = 5;
}
message RegisterResponse {
string reference = 1;
}
message CompleteRegistrationRequest {
string reference = 1;
string AuthorizationToken = 2;
}
message CompleteRegistrationResponse {}