Create a credential query from authentication scope.
#include <sys/credential/credential_auth.h>
int credential_query_create_from_auth_scope(const credential_auth_scope_t *auth_scope,
credential_query_t **query)
BlackBerry 10.3.1
The authentication scope of interest.
The credential query that can be used to lookup credentials based on given authentication scope. You must call credential_query_release() to release this structure when you're done using it.
Create a credential query that matches all credentials that are suitable for given authentication scope.
0 if operation was successful, error code otherwise.