Associate an authentication scope with given credential.
#include <sys/credential/credential_auth.h>
int credential_add_auth_scope(const credential_t *cred,
const credential_auth_scope_t *auth_scope)
BlackBerry 10.3.1
The credential to associate with authentication scope.
The authentication scope to associate with credential. The caller continues to own the memory for this structure.
Adds an authentication scope to given credential, so that the credential can be retrieved using queries initialized from a matching authentication scope.
if operation was successful, error code otherwise.