Authentication Server: Constants

Definitions


#include <dwc.h>

#define   DWC_SVL_HOST_LENGTH                     64
#define   DWC_SVL_TOKEN_LENGTH                    300
#define   DWC_SVL_STATUSDATA_LENGTH               1

enum DWCIngamesnCheckResult {
    DWC_INGAMESN_NOT_CHECKED                =  0,
    DWC_INGAMESN_VALID                      =  1,
    DWC_INGAMESN_INVALID                    =  2,
};

enum DWCNasLoginState {
    DWC_NASLOGIN_STATE_DIRTY                =  0,
    DWC_NASLOGIN_STATE_IDLE,
    DWC_NASLOGIN_STATE_HTTP,
    DWC_NASLOGIN_STATE_SUCCESS,
    DWC_NASLOGIN_STATE_ERROR,
    DWC_NASLOGIN_STATE_CANCELED,
    DWC_NASLOGIN_STATE_MAX,
};

enum DWCSvlState {
    DWC_SVL_STATE_DIRTY                     =  0,
    DWC_SVL_STATE_IDLE,
    DWC_SVL_STATE_HTTP,
    DWC_SVL_STATE_SUCCESS,
    DWC_SVL_STATE_ERROR,
    DWC_SVL_STATE_CANCELED,
    DWC_SVL_STATE_MAX,
};

		

Constants

DWC_SVL_HOST_LENGTH Maximum number of characters in the host name.
DWC_SVL_TOKEN_LENGTH Maximum number of characters in the token.
DWC_SVL_STATUSDATA_LENGTH Status size.

ingamesn Check Result Enumerator

DWC_INGAMESN_NOT_CHECKED Unchecked
DWC_INGAMESN_VALID Valid
DWC_INGAMESN_INVALID Invalid

Enumeration Type That Displays the Status of the Nintendo Authentication Server Authentication Process

DWC_NASLOGIN_STATE_DIRTY Authentication process has not been initialized.
DWC_NASLOGIN_STATE_IDLE Authentication process has not started. Waiting state.
DWC_NASLOGIN_STATE_HTTP Currently communicating via HTTP for the authentication process.
DWC_NASLOGIN_STATE_SUCCESS Authentication process was successful.
DWC_NASLOGIN_STATE_ERROR Authentication process failed.
DWC_NASLOGIN_STATE_CANCELED Authentication process was cancelled.
DWC_NASLOGIN_STATE_MAX

Enumeration Type Indicating the State While Getting Service Locator Information

DWC_SVL_STATE_DIRTY Uninitialized
DWC_SVL_STATE_IDLE Process not currently running
DWC_SVL_STATE_HTTP Currently performing HTTP communications
DWC_SVL_STATE_SUCCESS Token acquisition was successful
DWC_SVL_STATE_ERROR Token acquisition failed
DWC_SVL_STATE_CANCELED Token acquisition was cancelled
DWC_SVL_STATE_MAX

CONFIDENTIAL