com.twilio.sdk.resource.factory.sip
Interface CredentialFactory

All Known Implementing Classes:
CredentialList

public interface CredentialFactory

A factory for creating Credential objects. For more information see https://www.twilio.com/docs/api/rest/credential


Method Summary
 Credential create(List<org.apache.http.NameValuePair> params)
          Creates the credential
 Credential create(Map<String,String> params)
          Creates the credential
 

Method Detail

create

Credential create(Map<String,String> params)
                  throws TwilioRestException
Creates the credential

Parameters:
params - the params map
Returns:
the credential
Throws:
TwilioRestException

create

Credential create(List<org.apache.http.NameValuePair> params)
                  throws TwilioRestException
Creates the credential

Parameters:
params - the params list
Returns:
the credential
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.