Esempio n. 1
0
 /// <summary>
 /// Creates a new identification session
 /// </summary>
 /// <param name="createIdentificationRequest"></param>
 /// <returns></returns>
 public async Task <CreateIdentificationResponse> CreateSessionAsync(
     CreateIdentificationRequest createIdentificationRequest)
 {
     return(await PostAsync <CreateIdentificationResponse>($"{Urls.Identification}/session",
                                                           createIdentificationRequest));
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new identification session
 /// </summary>
 /// <param name="createIdentificationRequest"></param>
 /// <returns></returns>
 public CreateIdentificationResponse CreateSession(CreateIdentificationRequest createIdentificationRequest)
 {
     return(Post <CreateIdentificationResponse>($"{Urls.Identification}/session", createIdentificationRequest));
 }