diff --git a/common/generated_io/lib/src/services/authentication_service.pbgrpc.dart b/common/generated_io/lib/src/services/authentication_service.pbgrpc.dart index efc7bab..552ea4f 100644 --- a/common/generated_io/lib/src/services/authentication_service.pbgrpc.dart +++ b/common/generated_io/lib/src/services/authentication_service.pbgrpc.dart @@ -17,6 +17,14 @@ class AuthenticationServiceClient extends Client { '/stashall.AuthenticationService/signin', (SigninRequest value) => value.writeToBuffer(), (List value) => new $0.Empty.fromBuffer(value)); + static final _$signout = new ClientMethod<$0.Empty, $0.Empty>( + '/stashall.AuthenticationService/signout', + ($0.Empty value) => value.writeToBuffer(), + (List value) => new $0.Empty.fromBuffer(value)); + static final _$isLogged = new ClientMethod<$0.Empty, $0.Empty>( + '/stashall.AuthenticationService/isLogged', + ($0.Empty value) => value.writeToBuffer(), + (List value) => new $0.Empty.fromBuffer(value)); AuthenticationServiceClient(ClientChannel channel, {CallOptions options}) : super(channel, options: options); @@ -28,6 +36,20 @@ class AuthenticationServiceClient extends Client { options: options); return new ResponseFuture(call); } + + ResponseFuture<$0.Empty> signout($0.Empty request, {CallOptions options}) { + final call = $createCall( + _$signout, new $async.Stream.fromIterable([request]), + options: options); + return new ResponseFuture(call); + } + + ResponseFuture<$0.Empty> isLogged($0.Empty request, {CallOptions options}) { + final call = $createCall( + _$isLogged, new $async.Stream.fromIterable([request]), + options: options); + return new ResponseFuture(call); + } } abstract class AuthenticationServiceBase extends Service { @@ -41,6 +63,20 @@ abstract class AuthenticationServiceBase extends Service { false, (List value) => new SigninRequest.fromBuffer(value), ($0.Empty value) => value.writeToBuffer())); + $addMethod(new ServiceMethod<$0.Empty, $0.Empty>( + 'signout', + signout_Pre, + false, + false, + (List value) => new $0.Empty.fromBuffer(value), + ($0.Empty value) => value.writeToBuffer())); + $addMethod(new ServiceMethod<$0.Empty, $0.Empty>( + 'isLogged', + isLogged_Pre, + false, + false, + (List value) => new $0.Empty.fromBuffer(value), + ($0.Empty value) => value.writeToBuffer())); } $async.Future<$0.Empty> signin_Pre( @@ -48,5 +84,17 @@ abstract class AuthenticationServiceBase extends Service { return signin(call, await request); } + $async.Future<$0.Empty> signout_Pre( + ServiceCall call, $async.Future request) async { + return signout(call, await request); + } + + $async.Future<$0.Empty> isLogged_Pre( + ServiceCall call, $async.Future request) async { + return isLogged(call, await request); + } + $async.Future<$0.Empty> signin(ServiceCall call, SigninRequest request); + $async.Future<$0.Empty> signout(ServiceCall call, $0.Empty request); + $async.Future<$0.Empty> isLogged(ServiceCall call, $0.Empty request); }