Skip to main content

parse_access_token

Function parse_access_token 

Source
fn parse_access_token(
    resp: &OutboundResponse,
) -> Result<(String, Option<u64>), FeishuError>
Expand description

Parses the user access token from Feishu’s v2 token response, returning the token and (when present) its expires_in seconds.