langchain_community.tools.gmail.utils
.get_gmail_credentials¶
- langchain_community.tools.gmail.utils.get_gmail_credentials(token_file: Optional[str] = None, client_secrets_file: Optional[str] = None, scopes: Optional[List[str]] = None) Credentials [source]¶
获取凭证。
- 参数
token_file (可选[str]) –
client_secrets_file (可选[str]) –
scopes (可选[列表[str]]) –
- 返回类型
Credentials