# ovok_sdk.auth.credentials

Canonical page: https://docs.ovok.com/python-sdk/reference/auth/credentials

The interface that supplies bearer tokens to requests.

## Credentials [#credentials]

```python
Credentials()
```

Bases: `Protocol`

Supplies the bearer token for each request and renews it on demand.

### access_token() [#access_token]

```python
access_token() -> str | None
```

Return the current access token, or None when there is none.

### refresh() [#refresh]

```python
refresh() -> bool
```

Renew the token; return whether a new one is available.
