from typing import Optional
import json


def get_auth_token() -> Optional[str]:
    """Returns the saved auth token.

    :return: The auth token saved in :code:`.frost`
    :rtype: Optional[str]
    """
    with open('.frost', 'r') as f:
        return json.load(f).get('token')