toAuthMode method

AuthMode toAuthMode()

Implementation

AuthMode toAuthMode() {
  switch (this) {
    case 'SSO':
      return AuthMode.sso;
    case 'IAM':
      return AuthMode.iam;
  }
  throw Exception('$this is not known in enum AuthMode');
}