stirrup.grpc-module-user.3.3.0.1.source-code.HerodotusUserService.proto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grpc-module-user Show documentation
Show all versions of grpc-module-user Show documentation
Herodotus 软件生态组件库GRPC用户定义模块
The newest version!
syntax = "proto3";
package cn.herodotus.grpc.user;
option java_multiple_files = true;
option java_package = "cn.herodotus.stirrup.grpc.user";
option java_outer_classname = "GrpcHerodotusUserServiceProto";
service GrpcHerodotusUserService {
rpc findUserDetailsByUsername(SignInRequest) returns (GrpcHerodotusUser) {}
rpc findUserDetailsBySocial(SocialSignInRequest) returns (GrpcHerodotusUser) {}
}
message SignInRequest {
string username = 1;
}
message SocialSignInRequest {
string source = 1;
GrpcAccessPrincipal accessPrincipal = 2;
}
message GrpcAccessPrincipal {
string code = 1;
string mobile = 2;
string appId = 3;
string encryptedData = 4;
string iv = 5;
string openId = 6;
string sessionKey = 7;
string unionId = 8;
string rawData = 9;
string signature = 10;
string authCode = 11;
string state = 12;
string authorizationCode = 13;
string authToken = 14;
string authVerifier = 15;
}
message GrpcHerodotusUser {
string userId = 1;
string password = 2;
string username = 3;
string employeeId = 4;
string avatar = 5;
bool accountNonExpired = 6;
bool accountNonLocked = 7;
bool credentialsNonExpired = 8;
bool enabled = 9;
repeated string roles = 10;
repeated string authorities = 11;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy