toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case IdentityProviderTypeType.saml:
      return 'SAML';
    case IdentityProviderTypeType.facebook:
      return 'Facebook';
    case IdentityProviderTypeType.google:
      return 'Google';
    case IdentityProviderTypeType.loginWithAmazon:
      return 'LoginWithAmazon';
    case IdentityProviderTypeType.signInWithApple:
      return 'SignInWithApple';
    case IdentityProviderTypeType.oidc:
      return 'OIDC';
  }
}