Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PCA initialization error strings #598

Merged
merged 4 commits into from
Aug 22, 2019
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -350,4 +350,34 @@ private ErrorStrings() {
*/
public static final String KEY_NOT_FOUND = "key_not_found";

/**
* AccountMode in configuration is set to multiple. However, the device is marked as shared (which requires single account mode).
*/
public static final String CANNOT_INITIALIZE_MULTIPLE_ACCOUNT_PCA_ON_SHARED_DEVICE_ERRORCODE = "cannot_initialize_multiple_account_pca_on_shared_device";
rpdome marked this conversation as resolved.
Show resolved Hide resolved
rpdome marked this conversation as resolved.
Show resolved Hide resolved
public static final String CANNOT_INITIALIZE_MULTIPLE_ACCOUNT_PCA_ON_SHARED_DEVICE_ERRORMESSAGE = "AccountMode in configuration is set to multiple. However, the device is marked as shared (which requires single account mode).";
rpdome marked this conversation as resolved.
Show resolved Hide resolved

/**
* Multiple account PublicClientApplication could not be created for unknown reasons
*/
public static final String CANNOT_INITIALIZE_MULTIPLE_ACCOUNT_PCA_UNKNOWN_REASON_ERRORCODE = "cannot_initialize_multiple_account_pca_unknown_reason";
public static final String CANNOT_INITIALIZE_MULTIPLE_ACCOUNT_PCA_UNKNOWN_REASON_ERRORMESSAGE = "Multiple account PublicClientApplication could not be created for unknown reasons";

/**
* AccountMode in configuration is not set to multiple. Cannot initialize multiple account PublicClientApplication.
*/
public static final String CANNOT_INITIALIZE_MULTIPLE_ACCOUNT_PCA_ACCOUNT_MODE_NOT_MULTIPLE_ERRORCODE = "cannot_initialize_multiple_account_pca_account_mode_not_multiple";
public static final String CANNOT_INITIALIZE_MULTIPLE_ACCOUNT_PCA_ACCOUNT_MODE_NOT_MULTIPLE_ERRORMESSAGE = "AccountMode in configuration is not set to multiple. Cannot initialize multiple account PublicClientApplication.";

/**
* AccountMode in configuration is not set to single. Cannot initialize single account PublicClientApplication.
*/
public static final String CANNOT_INITIALIZE_SINGLE_ACCOUNT_PCA_ACCOUNT_MODE_NOT_SINGLE_ERRORCODE = "cannot_initialize_multiple_account_pca_account_mode_not_single";
public static final String CANNOT_INITIALIZE_SINGLE_ACCOUNT_PCA_ACCOUNT_MODE_NOT_SINGLE_ERRORMESSAGE = "AccountMode in configuration is not set to single. Cannot initialize single account PublicClientApplication.";

/**
* A single account public client application could not be created for unknown reasons.
*/
public static final String CANNOT_INITIALIZE_SINGLE_ACCOUNT_PCA_UNKNOWN_REASON_ERRORCODE = "cannot_initialize_single_account_pca_unknown_reason";
public static final String CANNOT_INITIALIZE_SINGLE_ACCOUNT_PCA_UNKNOWN_REASON_ERRORMESSAGE = "A single account public client application could not be created for unknown reasons.";

}