コード例 #1
0
 static void Main(string[] args)
 {
     // I know using .Result makes me a terrible person, and for this I apologize
     string graphToken = AuthUtils.GetTokenInAppService("https://graph.microsoft.com").Result;
 }
コード例 #2
0
 public async Task <string> Get()
 {
     return(await AuthUtils.GetTokenInAppService("https://graph.microsoft.com"));
 }