def METHOD_NAME(auth_len: Optional[int] = None) -> None:
    if auth_len is not None:
        msg = f"The current access token is only valid for {auth_len}s."
    else:
        msg = "Also, no expiration time was given."
    warnings.warn(
        message=f"""Auth002: The token returned from you identity provider does not contain a refresh token. {msg}
        Access to your weaviate instance is not possible after expiration and this client will return an
        authentication exception.
        Things to try:
        - You might need to enable refresh tokens in the settings of your authentication provider
        - You might need to send the correct scope. For some providers it needs to include "offline_access"
        """,
        category=UserWarning,
        stacklevel=1,
    )