Update protobuf definitions: 9a404e5f
By allanger
Commit link: 9a404e5f09
Pipeline link: https://ci.badhouseplants.net/repos/34/pipeline/59
This commit is contained in:
@@ -38,7 +38,8 @@ type AccountsNoAuthServiceClient interface {
|
||||
SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
||||
// Create a new account
|
||||
SignUp(ctx context.Context, in *SignUpRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
||||
// RefreshToken doesn't use regular auth methods
|
||||
// RefreshToken doesn't use regular auth methods, it recieves the token in data,
|
||||
// checks whether a session with this token exists and create a new one if yes
|
||||
RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
||||
}
|
||||
|
||||
@@ -91,7 +92,8 @@ type AccountsNoAuthServiceServer interface {
|
||||
SignIn(context.Context, *SignInRequest) (*emptypb.Empty, error)
|
||||
// Create a new account
|
||||
SignUp(context.Context, *SignUpRequest) (*emptypb.Empty, error)
|
||||
// RefreshToken doesn't use regular auth methods
|
||||
// RefreshToken doesn't use regular auth methods, it recieves the token in data,
|
||||
// checks whether a session with this token exists and create a new one if yes
|
||||
RefreshToken(context.Context, *RefreshTokenRequest) (*emptypb.Empty, error)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user