Skip to content

Commit

Permalink
add isLogged endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleak committed May 16, 2019
1 parent 947769d commit e2aa306
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions protos/services/authentication_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@ service AuthenticationService {
/// The client must send in the metadata the Authorization key with the token
/// in the value
rpc signout(google.protobuf.Empty) returns (google.protobuf.Empty);

/// If the user is logged return Empty else throw GrpcError.unauthenticated
/// The client must send in the metadata the Authorization key with the token
/// in the value
rpc isLogged(google.protobuf.Empty) returns (google.protobuf.Empty);
}

0 comments on commit e2aa306

Please sign in to comment.