private AuthenticationContext(string authority, AuthorityValidationType validateAuthority, TokenCache tokenCache) { // If authorityType is not provided (via first constructor), we validate by default (except for ASG and Office tenants). this.Authenticator = new Authenticator(authority, (validateAuthority != AuthorityValidationType.False)); this.TokenCache = tokenCache; }