Client-side plugin interface for authentication.
More...
Go to the source code of this file.
Client-side plugin interface for authentication.
- Note
- For extensions in 1.12.6 or later, you have to define SOFIA_EXTEND_AUTH_CLIENT to 1 before including this file.
- Author
- Pekka Pessi Pekka.nosp@m..Pes.nosp@m.si@no.nosp@m.kia..nosp@m.com
- Date
- Created: Fri May 19 16:18:21 EEST 2006
◆ AUTH_CLIENT_COPY_CREDENTIALS
#define AUTH_CLIENT_COPY_CREDENTIALS |
( |
|
ca | ) |
|
Return auc_copy_credentials method from authentication client.
- Since
- New in 1.12.11.
◆ AUTH_CLIENT_IS_EXTENDED
#define AUTH_CLIENT_IS_EXTENDED |
( |
|
ca | ) |
|
Check if authentication client has been extended.
- Since
- New in 1.12.6.
◆ AUTH_CLIENT_SAVE_CREDENTIALS
#define AUTH_CLIENT_SAVE_CREDENTIALS |
( |
|
ca | ) |
|
Return auc_save_credentials method from authentication client.
- Since
- New in 1.12.11.
◆ auth_client_copy_credentials()
Copy authentication data from a matching client in src to d.
- Return values
-
1 | if credentials were copied |
0 | clients did not match |
-1 | if an error occurred. |
- Since
- New in 1.12.11
◆ auth_client_save_credentials()
int auth_client_save_credentials |
( |
auth_client_t * |
ca, |
|
|
char const * |
scheme, |
|
|
char const * |
realm, |
|
|
char const * |
user, |
|
|
char const * |
pass |
|
) |
| |
Save authentication data to an authenticator.
Function saves the authentication data in the authentication client, if the scheme and the realm match.
- Parameters
-
[in] | ca | client authenticator |
[in] | scheme | scheme to use (NULL, if any) |
[in] | realm | realm to use (NULL, if any) |
[in] | user | username |
[in] | pass | password |
- Return values
-
1 | if successful |
0 | data did not match |
-1 | upon an error |
- Since
- New in 1.12.11