FlickrNet.Twitter.CheckRequiresAuthentication C# (CSharp) Méthode

CheckRequiresAuthentication() private méthode

private CheckRequiresAuthentication ( ) : void
Résultat void
        private void CheckRequiresAuthentication()
        {
            CheckApiKey();

            if (!String.IsNullOrEmpty(OAuthAccessToken) && !String.IsNullOrEmpty(OAuthAccessTokenSecret))
                return;

            if (String.IsNullOrEmpty(ApiSecret))
                throw new SignatureRequiredException();
            if (String.IsNullOrEmpty(AuthToken))
                throw new AuthenticationRequiredException();
        }