getAuthMode static method

AuthMode getAuthMode(
  1. int command
)

Implementation

static AuthMode getAuthMode(int command) {
  List<AuthMode> values = _values;
  int length = values.length;

  for (int i = 0; i < length; ++i) {
    AuthMode mode = values[i];
    if (mode.getCommand() == command) {
      return mode;
    }
  }

  return NOCHANGE;
}