Add a method to recieve a JWT with a cli token
Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
This commit is contained in:
@@ -22,6 +22,8 @@ service TokensService {
|
||||
rpc ListTokens (google.protobuf.Empty) returns (stream ListTokensResponse) {}
|
||||
// List all available permissions
|
||||
rpc ListPermissions (google.protobuf.Empty) returns (stream ListPermissionsResponse) {}
|
||||
// Recieve a JWT access token
|
||||
rcp AuthenticateWithToken(google.protobuf.Empty) returns (google.protobuf.Empty) {}
|
||||
}
|
||||
|
||||
message TokenMetadata {
|
||||
|
||||
Reference in New Issue
Block a user