public DiscoveryHelper(AuthenticationHelper authenticationHelper) : base(authenticationHelper) { DiscoveryClient discoveryClient = new DiscoveryClient( Office365ServicesUris.DiscoveryServiceEndpointUri, async () => { var discoveryAuthResult = await this.AuthenticationHelper.AuthenticationContext.AcquireTokenSilentAsync( Office365ServicesUris.DiscoveryServiceResourceId, AuthenticationHelper.ClientId, new UserIdentifier( this.AuthenticationHelper.AuthenticationResult.UserInfo.UniqueId, UserIdentifierType.UniqueId)); return discoveryAuthResult.AccessToken; }); this.DiscoveryClient = discoveryClient; }
public SitesHelper(AuthenticationHelper authenticationHelper) : base(authenticationHelper) { }
public ActiveDirectoryHelper(AuthenticationHelper authenticationHelper) : base(authenticationHelper) { }
public CalendarHelper(AuthenticationHelper authenticationHelper) : base(authenticationHelper) { }
public ContactsHelper(AuthenticationHelper authenticationHelper) : base(authenticationHelper) { }