# SubscribeJwtRenewal

> Подписка на обновление JWT токена. Стрим метод

**Protocol:** grpc | **Type:** server-stream
**Path:** /grpc.tradeapi.v1.auth.AuthService/SubscribeJwtRenewal

## Request

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| secret | string | no | API токен (secret key) |

## Response

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| token | string | no | Полученный JWT-токен |

## Response: OK

### Example

```json
{
  "token": "string"
}
```

## Code Examples

### grpcurl

```shell
grpcurl \
  -d '{
  "secret": "string"
}' \
  api.finam.ru:443 grpc.tradeapi.v1.auth.AuthService/SubscribeJwtRenewal
```