File size: 722 Bytes
d3cadd5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
"""Kiro 认证模块"""
from .device_flow import (
    start_device_flow,
    poll_device_flow,
    cancel_device_flow,
    get_login_state,
    save_credentials_to_file,
    DeviceFlowState,
    # Social Auth
    start_social_auth,
    exchange_social_auth_token,
    cancel_social_auth,
    get_social_auth_state,
    start_callback_server,
    wait_for_callback,
)

__all__ = [
    "start_device_flow",
    "poll_device_flow",
    "cancel_device_flow",
    "get_login_state",
    "save_credentials_to_file",
    "DeviceFlowState",
    # Social Auth
    "start_social_auth",
    "exchange_social_auth_token",
    "cancel_social_auth",
    "get_social_auth_state",
    "start_callback_server",
    "wait_for_callback",
]