Skip to main content

parse_userinfo

Function parse_userinfo 

Source
fn parse_userinfo(resp: &OutboundResponse) -> Result<Value, DingtalkError>
Expand description

Parses DingTalk’s getuserinfo response, returning the result object on errcode == 0 and an DingtalkError::Unauthorized otherwise.