Enum SmallRyeOpenApiConfig.SecurityScheme
- java.lang.Object
-
- java.lang.Enum<SmallRyeOpenApiConfig.SecurityScheme>
-
- io.quarkus.smallrye.openapi.common.deployment.SmallRyeOpenApiConfig.SecurityScheme
-
- All Implemented Interfaces:
Serializable,Comparable<SmallRyeOpenApiConfig.SecurityScheme>
- Enclosing class:
- SmallRyeOpenApiConfig
public static enum SmallRyeOpenApiConfig.SecurityScheme extends Enum<SmallRyeOpenApiConfig.SecurityScheme>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description basicjwtoauth2oauth2Implicitoidc
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SmallRyeOpenApiConfig.SecuritySchemevalueOf(String name)Returns the enum constant of this type with the specified name.static SmallRyeOpenApiConfig.SecurityScheme[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
basic
public static final SmallRyeOpenApiConfig.SecurityScheme basic
-
jwt
public static final SmallRyeOpenApiConfig.SecurityScheme jwt
-
oauth2
public static final SmallRyeOpenApiConfig.SecurityScheme oauth2
-
oidc
public static final SmallRyeOpenApiConfig.SecurityScheme oidc
-
oauth2Implicit
public static final SmallRyeOpenApiConfig.SecurityScheme oauth2Implicit
-
-
Method Detail
-
values
public static SmallRyeOpenApiConfig.SecurityScheme[] 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 (SmallRyeOpenApiConfig.SecurityScheme c : SmallRyeOpenApiConfig.SecurityScheme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SmallRyeOpenApiConfig.SecurityScheme 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
-
-