Public Member Functions | |
| void | AddAvailableAlgorithm (string algorithm) |
| void | ClearAvailableAlgorithms () |
| Linphone.AuthInfo | Clone () |
| bool | IsEqualButAlgorithms (Linphone.AuthInfo authInfo2) |
Properties | |
| Linphone.BearerToken | AccessToken [get, set] |
| string | Algorithm [get, set] |
| string | AuthorizationServer [get, set] |
| IEnumerable< string > | AvailableAlgorithms [get, set] |
| string | ClientId [get, set] |
| string | ClientSecret [get, set] |
| string | Domain [get, set] |
| long | Expires [get, set] |
| string | Ha1 [get, set] |
| string | Password [get, set] |
| string | Realm [get, set] |
| Linphone.BearerToken | RefreshToken [get, set] |
| string | TlsCert [get, set] |
| string | TlsCertPath [get, set] |
| string | TlsKey [get, set] |
| string | TlsKeyPath [get, set] |
| string | TokenEndpointUri [get, set] |
| string | Userid [get, set] |
| string | Username [get, set] |
Additional Inherited Members | |
Protected Member Functions inherited from Linphone.LinphoneObject | |
| static String | linphone_pointer_to_string (IntPtr ptr) |
| static IntPtr | linphone_string_to_pointer ([MarshalAs(LinphoneWrapper.ByteStringMarshalling)] String str) |
| IntPtr | StringArrayToBctbxList (IEnumerable< string > stringlist) |
| void | CleanStringArrayPtrs (IntPtr l) |
Object holding authentication information.
In most case, authentication information consists of a username and password. If realm isn't set, it will be deduced automatically from the first authentication challenge as for the hash algorithm. Sometimes, a userid is required by the proxy and then domain can be useful to discriminate different credentials. You can also use this object if you need to use a client certificate. Once created and filled, a Linphone.AuthInfo must be added to the Linphone.Core in order to become known and used automatically when needed. Use Linphone.Core.AddAuthInfo() for that purpose. The Linphone.Core object can take the initiative to request authentication information when needed to the application through the authentication_requested() callback of it's Linphone.CoreListener. The application can respond to this information request later using Linphone.Core.AddAuthInfo(). This will unblock all pending authentication transactions and retry them with authentication headers.
|
inline |
Add an unique algorithm in the the available algorithms list : Algorithms that already exist will not be added.
| algorithm | The algorithm to add. |
|
inline |
Remove all algorithms from the available algorithms list.
|
inline |
Instantiates a new auth info with values from source.
|
inline |
Check if Authinfos are the same without taking account algorithms.
| authInfo2 | The second Linphone.AuthInfo object. |
|
getset |
Return a previously set access token.
|
getset |
Gets the algorithm.
|
getset |
Get the previously set authorization server uri.
|
getset |
Gets all available algorithms.
|
getset |
Get the previously set OAUTH2 client_id.
|
getset |
Get the previously set OAUTH2 client_secret.
|
getset |
Gets the domain.
|
getset |
Get the expiration time for the current authentication information.
|
getset |
Gets the ha1.
|
getset |
Gets the password.
|
getset |
Gets the realm.
|
getset |
Return a previously set refresh token.
|
getset |
Gets the TLS certificate.
|
getset |
Gets the TLS certificate path.
|
getset |
Gets the TLS key.
|
getset |
Gets the TLS key path.
|
getset |
Get the previously set token endpoint https uri (OAUTH2).
|
getset |
Gets the user id.
|
getset |
Gets the username.