Enum Class Providers

java.lang.Object
java.lang.Enum<Providers>
com.sankcrm.erp.auth.domain.model.thirdauth.Providers
All Implemented Interfaces:
Serializable, Comparable<Providers>, Constable

public enum Providers extends Enum<Providers>
第三方应用授权
Since:
2.1.6
Author:
zhsxin
create time:
2024/1/11 下午4:56
  • Enum Constant Details

    • WECHAT

      public static final Providers WECHAT
      微信
    • ALI

      public static final Providers ALI
      支付宝
  • Method Details

    • values

      public static Providers[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Providers valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null