toAuthenticationType method

AuthenticationType toAuthenticationType()

Implementation

AuthenticationType toAuthenticationType() {
  switch (this) {
    case 'API':
      return AuthenticationType.api;
    case 'SAML':
      return AuthenticationType.saml;
    case 'USERPOOL':
      return AuthenticationType.userpool;
  }
  throw Exception('$this is not known in enum AuthenticationType');
}