diff --git a/pkg/accounts/v1/accounts_v1_grpc.pb.go b/pkg/accounts/v1/accounts_v1_grpc.pb.go index b2cbde3..0e657f0 100644 --- a/pkg/accounts/v1/accounts_v1_grpc.pb.go +++ b/pkg/accounts/v1/accounts_v1_grpc.pb.go @@ -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) }