Enum Constants.ApplicationScope

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      API
      Access the authenticated user's API
      EMAIL
      Allows read-only access to the user's primary email address using OpenID Connect
      OPENID
      Authenticate using OpenID Connect
      PROFILE
      Allows read-only access to the user's personal information using OpenID Connect
      READ_REPOSITORY
      Allows read-access to the repository
      READ_USER
      Read the authenticated user's personal information
      SUDO
      Perform API actions as any user in the system
    • Method Detail

      • values

        public static Constants.ApplicationScope[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Constants.ApplicationScope c : Constants.ApplicationScope.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Constants.ApplicationScope valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toValue

        public java.lang.String toValue()