Enum Service.Auth.AuthType
- java.lang.Object
-
- java.lang.Enum<Service.Auth.AuthType>
-
- io.keyko.nevermined.models.service.metadata.Service.Auth.AuthType
-
- All Implemented Interfaces:
Serializable,Comparable<Service.Auth.AuthType>
- Enclosing class:
- Service.Auth
public static enum Service.Auth.AuthType extends Enum<Service.Auth.AuthType>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAuthType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Service.Auth.AuthTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Service.Auth.AuthType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
basic
public static final Service.Auth.AuthType basic
-
bearer
public static final Service.Auth.AuthType bearer
-
digest
public static final Service.Auth.AuthType digest
-
hoba
public static final Service.Auth.AuthType hoba
-
mutual
public static final Service.Auth.AuthType mutual
-
negotiate
public static final Service.Auth.AuthType negotiate
-
oauth
public static final Service.Auth.AuthType oauth
-
scramSha1
public static final Service.Auth.AuthType scramSha1
-
scramSha256
public static final Service.Auth.AuthType scramSha256
-
vapid
public static final Service.Auth.AuthType vapid
-
-
Method Detail
-
values
public static Service.Auth.AuthType[] 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 (Service.Auth.AuthType c : Service.Auth.AuthType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Service.Auth.AuthType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-