示例#1
0
 protected override WebAuthenticator CreateAuthenticator()
 {
     return(authenticator as OAuthPasswordAuthenticator ?? (authenticator = new OAuthPasswordAuthenticator {
         BaseUrl = TokenUrl,
         Api = this,
     }));
 }
示例#2
0
		protected override WebAuthenticator CreateAuthenticator ()
		{
			return authenticator as OAuthPasswordAuthenticator ?? (authenticator = new OAuthPasswordAuthenticator {
				BaseUrl = TokenUrl,
				Api = this,

			});
		}