credential_get_auth_status()

Retrieve the result of the last authentication attempt using given credentials.

Synopsis:

#include <sys/credential/credential_auth.h>
 
int credential_get_auth_status(const credential_t *cred,
                               credential_auth_status_t *status)

Since:

BlackBerry 10.3.1

Arguments:

cred

The credentials of interest.

status

The result of the last authentication attempt.

Library:

libcredential (For the qcc command, use the -l bps option to link against this library)

Description:

Retrieve the authentication result for the given credential stored in Credential Manager.

Returns:

0 if operation was successful, error code otherwise.