auth_status enumeration

Specifies possible authentication status codes.

Syntax
typedef enum auth_status {
    AUTH_UNKNOWN,
    AUTH_VALID,
    AUTH_VALID_BUT_EXPIRES_SOON,
    AUTH_EXPIRED,
    AUTH_INVALID,
    AUTH_IN_USE
} auth_status;
Members
Name Description
AUTH_EXPIRED

Authentication has expired.

AUTH_IN_USE

The user name is already authenticated.

AUTH_INVALID

Authentication is invalid.

AUTH_UNKNOWN

Authentication is unknown.

AUTH_VALID

Authentication is valid.

AUTH_VALID_BUT_EXPIRES_SOON

Authentication is valid but expires soon.