Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OnlineMeetingHelper"/> class.
 /// </summary>
 /// <param name="requestAuthenticationProvider">The request authentication provider.</param>
 /// <param name="graphUri">The graph url.</param>
 public OnlineMeetingHelper(IRequestAuthenticationProvider requestAuthenticationProvider, Uri graphUri)
 {
     this.requestAuthenticationProvider = requestAuthenticationProvider;
     this.graphEndpointUri = graphUri;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthenticationWrapper"/> class.
 /// </summary>
 /// <param name="authenticationProvider">The authentication provider.</param>
 /// <param name="tenant">The tenant.</param>
 public AuthenticationWrapper(IRequestAuthenticationProvider authenticationProvider, string tenant = null)
 {
     this.authenticationProvider = authenticationProvider.NotNull(nameof(authenticationProvider));
     this.tenant = tenant;
 }