# Credentials Provider

## Classes
struct | rampart_credentials_ops
struct | rampart_credentials
## Defines
#define | RAMPART_CREDENTIALS_FREE(credentials, env) ((credentials)->ops->free (credentials, env))
#define | RAMPART_CREDENTIALS_USERNAME_GET(credentials, env, msg_ctx, username, password)
## Typedefs
typedef enum rampart_credentials_status | rampart_credentials_status_t
typedef struct rampart_credentials_ops | rampart_credentials_ops_t
typedef struct rampart_credentials | rampart_credentials_t
## Enumerations
enum | rampart_credentials_status { RAMPART_CREDENTIALS_PW_FOUND = 0, RAMPART_CREDENTIALS_PW_NOT_FOUND, RAMPART_CREDENTIALS_USER_FOUND, RAMPART_CREDENTIALS_USER_NOT_FOUND, RAMPART_CREDENTIALS_GENERAL_ERROR }

## Define Documentation

#define RAMPART_CREDENTIALS_USERNAME_GET | ( | credentials,
|  | env,
|  | msg_ctx,
|  | username,
|  | password |  | ) |

Value:

    ((credentials)->ops->rampart_credentials_username_get( \
                credentials, env, msg_ctx, username, password))

## Typedef Documentation

typedef struct rampart_credentials_ops rampart_credentials_ops_t

Struct to get username/password pair