private static IAuthenticationBehave DefaultFactory(AuthenticationMethodTypes type) { switch (type) { case AuthenticationMethodTypes.Bearer: return(new BearerAuthenticateBehave()); case AuthenticationMethodTypes.OpenId: return(null); default: throw new NotSupportedException(type.ToString()); } }
public Task <HttpResponseMessage> PutAsync <T>(string uri, T item, AuthenticationMethodTypes authorizationMethod = AuthenticationMethodTypes.Bearer) { throw new NotImplementedException(); }
public Task <string> GetStringAsync(string uri, AuthenticationMethodTypes authorizationMethod = AuthenticationMethodTypes.Bearer) { throw new NotImplementedException(); }