12 lines
335 B
Python
12 lines
335 B
Python
from __future__ import annotations
|
|
|
|
from ifind_client import IfindHttpClient
|
|
|
|
|
|
class IfindProvider:
|
|
def __init__(self, client: IfindHttpClient) -> None:
|
|
self.client = client
|
|
|
|
def set_credentials(self, refresh_token: str, access_token: str = "") -> None:
|
|
self.client.set_credentials(refresh_token, access_token)
|