Skip to content

Commit

Permalink
Merge pull request #13 from rushio-consulting/spec-authentication-ser…
Browse files Browse the repository at this point in the history
…vice

authentication service spec
  • Loading branch information
bwnyasse authored May 18, 2019
2 parents 3d797a3 + bb1b355 commit dc42b83
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions protos/services/authentication_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,17 @@ message SigninRequest {
}

service AuthenticationService {
/// In the metadata the client will find the Authorization key with the token
/// in the value
rpc signin(SigninRequest) returns (google.protobuf.Empty);

/// 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.
///
/// 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 dc42b83

Please sign in to comment.