Exemple #1
0
 private AutoDiscoverRequestByDomain(Application application, ClientContext clientContext, RequestLogger requestLogger, AutoDiscoverAuthenticator authenticator, Uri targetUri, EmailAddress[] emailAddresses, AutodiscoverType autodiscoverType) : base(application, clientContext, requestLogger, targetUri, authenticator, emailAddresses, autodiscoverType)
 {
 }
Exemple #2
0
 public static AutoDiscoverRequestOperation CreateForCrossForest(Application application, ClientContext clientContext, RequestLogger requestLogger, Uri targetUri, AutoDiscoverAuthenticator authenticator, EmailAddress[] emailAddresses, UriSource uriSource, AutodiscoverType autodiscoverType)
 {
     return(new AutoDiscoverRequestByDomain(application, clientContext, requestLogger, new AutoDiscoverAuthenticator(ProxyAuthenticator.CreateForSoap(clientContext.MessageId)), targetUri, emailAddresses, autodiscoverType));
 }
Exemple #3
0
 internal UserSoapAutoDiscoverRequest(Application application, ClientContext clientContext, RequestType requestType, RequestLogger requestLogger, AutoDiscoverAuthenticator authenticator, Uri targetUri, EmailAddress[] emailAddresses, AutodiscoverType autodiscoverType) : base(application, clientContext, requestLogger, "UserSoapAutoDiscoverRequest", authenticator, targetUri, emailAddresses, autodiscoverType)
 {
 }
Exemple #4
0
 public static AutoDiscoverRequestOperation CreateForExternal(Application application, ClientContext clientContext, RequestLogger requestLogger, Uri targetUri, AutoDiscoverAuthenticator authenticator, EmailAddress[] emailAddresses, UriSource uriSource, AutodiscoverType autodiscoverType)
 {
     return(new AutoDiscoverRequestByDomain(application, clientContext, requestLogger, authenticator, targetUri, emailAddresses, autodiscoverType));
 }
Exemple #5
0
 internal AutoDiscoverRequestOperation(Application application, ClientContext clientContext, RequestLogger requestLogger, Uri targetUri, AutoDiscoverAuthenticator authenticator, EmailAddress[] emailAddresses, AutodiscoverType autodiscoverType) : base(application, clientContext, requestLogger)
 {
     this.TargetUri        = targetUri;
     this.Authenticator    = authenticator;
     this.EmailAddresses   = emailAddresses;
     this.AutodiscoverType = autodiscoverType;
 }
Exemple #6
0
 public SoapAutoDiscoverRequest(Application application, ClientContext clientContext, RequestLogger requestLogger, string label, AutoDiscoverAuthenticator authenticator, Uri targetUri, EmailAddress[] emailAddresses, AutodiscoverType autodiscoverType) : base(application, clientContext, requestLogger, label)
 {
     this.authenticator    = authenticator;
     this.TargetUri        = SoapAutoDiscoverRequest.FixTargetUri(targetUri);
     this.EmailAddresses   = emailAddresses;
     this.AutodiscoverType = autodiscoverType;
 }
Exemple #7
0
 private AutoDiscoverRequestXmlByUser(Application application, ClientContext clientContext, RequestLogger requestLogger, Uri targetUri, AutoDiscoverAuthenticator authenticator, EmailAddress[] emailAddresses, UriSource uriSource, AutodiscoverType autodiscoverType) : base(application, clientContext, requestLogger, targetUri, authenticator, emailAddresses, autodiscoverType)
 {
     this.uriSource = uriSource;
 }
Exemple #8
0
        protected AutoDiscoverQuery(Application application, ClientContext clientContext, RequestLogger requestLogger, Uri autoDiscoverUrl, AutoDiscoverAuthenticator authenticator, AutoDiscoverQueryItem[] queryItems, int redirectionDepth, CreateAutoDiscoverRequestDelegate createAutoDiscoverRequest, AutodiscoverType autodiscoverType, QueryList queryList)
        {
            this.application               = application;
            this.clientContext             = clientContext;
            this.requestLogger             = requestLogger;
            this.autoDiscoverUrl           = autoDiscoverUrl;
            this.authenticator             = authenticator;
            this.queryItems                = queryItems;
            this.redirectionDepth          = redirectionDepth;
            this.createAutoDiscoverRequest = createAutoDiscoverRequest;
            this.autodiscoverType          = autodiscoverType;
            this.queryList      = queryList;
            this.emailAddresses = new EmailAddress[queryItems.Length];
            for (int i = 0; i < queryItems.Length; i++)
            {
                this.emailAddresses[i] = queryItems[i].EmailAddress;
            }
            StringBuilder stringBuilder = new StringBuilder(200);

            foreach (AutoDiscoverQueryItem autoDiscoverQueryItem in this.queryItems)
            {
                if (stringBuilder.Length > 0)
                {
                    stringBuilder.Append(",");
                }
                stringBuilder.Append(autoDiscoverQueryItem.EmailAddress.ToString());
            }
            this.emailAddressesString = stringBuilder.ToString();
            AutoDiscoverQuery.AutoDiscoverTracer.TraceDebug <object, string>((long)this.GetHashCode(), "{0}: Created AutoDiscoverQuery for {1}", TraceContext.Get(), this.emailAddressesString);
        }
Exemple #9
0
 private AutoDiscoverQueryExternal(Application application, ClientContext clientContext, RequestLogger requestLogger, Uri autoDiscoverUrl, AutoDiscoverAuthenticator authenticator, AutoDiscoverQueryItem[] queryItems, int redirectionDepth, CreateAutoDiscoverRequestDelegate createAutoDiscoverRequest, QueryList queryList) : base(application, clientContext, requestLogger, autoDiscoverUrl, authenticator, queryItems, redirectionDepth, createAutoDiscoverRequest, AutodiscoverType.External, queryList)
 {
 }