public interface LinphoneAuthInfo
LinphoneCoreFactory.createAuthInfo(String, String, String, String)
or LinphoneCoreFactory.createAuthInfo(String, String, String, String, String, String)
.
LinphoneCore.addAuthInfo(LinphoneAuthInfo)
for that purpose.
LinphoneCoreListener.authInfoRequested(LinphoneCore, String, String, String)
listener.
LinphoneCore.addAuthInfo(LinphoneAuthInfo)
.
This will unblock all pending authentication transactions and retry them with authentication headers.Modifier and Type | Method and Description |
---|---|
LinphoneAuthInfo |
clone()
Clones a current auth info
|
String |
getDomain()
Gets the domain
|
String |
getHa1()
get ha1
|
String |
getPassword()
get password
|
String |
getRealm()
get realm
|
String |
getTlsCertificate()
Gets the TLS certificate
|
String |
getTlsCertificatePath()
Gets the path to the TLS certificate file
|
String |
getTlsKey()
Gets the TLS key file
|
String |
getTlsKeyPath()
Gets the path to the TLS key file
|
String |
getUserId()
get auth userid has used in authentication header.
|
String |
getUsername()
get user name
|
void |
setDomain(String domain)
Sets the domain
|
void |
setHa1(String ha1)
set ha1
|
void |
setPassword(String password)
sets password
|
void |
setRealm(String realm)
set realm
|
void |
setTlsCertificate(String cert)
Sets the TLS certificate
|
void |
setTlsCertificatePath(String path)
Sets the TLS certificate file path
|
void |
setTlsKey(String key)
Sets the TLS key
|
void |
setTlsKeyPath(String path)
Sets the TLS key file path
|
void |
setUserId(String userid)
set auth userid has used in authentication header.
|
void |
setUsername(String username)
Sets the username.
|
String getUsername()
void setUsername(String username)
username
- String getPassword()
void setPassword(String password)
password
- String getRealm()
void setRealm(String realm)
realm
- String getUserId()
void setUserId(String userid)
String getHa1()
void setHa1(String ha1)
void setDomain(String domain)
domain
- String getDomain()
LinphoneAuthInfo clone()
String getTlsCertificate()
String getTlsKey()
String getTlsCertificatePath()
String getTlsKeyPath()
void setTlsCertificate(String cert)
cert
- the certificatevoid setTlsKey(String key)
key
- the keyvoid setTlsCertificatePath(String path)
path
- the path of the certificatevoid setTlsKeyPath(String path)
path
- the path of the key