Enum Class AddonAuthenticationType

java.lang.Object
java.lang.Enum<AddonAuthenticationType>
com.atlassian.connect.spring.AddonAuthenticationType
All Implemented Interfaces:
Serializable, Comparable<AddonAuthenticationType>, Constable

public enum AddonAuthenticationType extends Enum<AddonAuthenticationType>
AddonAuthenticationType specifies the authentication scheme that the app uses to communicate with Atlassian products for the host site. IMPORTANT: Do not change the order of the enum values. The ordinals are stored in the database as integer. If adding new enum values, always add to the bottom of the current list
See Also:
  • JWT default authentication scheme for Connect and Connect-on-Forge apps.
  • OAUTH2 authentication scheme for Connect-on-Forge apps.
  • Enum Constant Details

  • Method Details

    • values

      public static AddonAuthenticationType[] 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 AddonAuthenticationType 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