toIdentityProviderType method

IdentityProviderType toIdentityProviderType()

Implementation

IdentityProviderType toIdentityProviderType() {
  switch (this) {
    case 'SAML':
      return IdentityProviderType.saml;
  }
  throw Exception('$this is not known in enum IdentityProviderType');
}