public enum SupportedAuthenticationTypes extends Enum<SupportedAuthenticationTypes>
| Modifier and Type | Method and Description |
|---|---|
static ConfigurationProperty.PropertyValue |
asPropertyValue(String name,
io.apicurio.datamodels.core.models.common.SecurityScheme scheme) |
static SupportedAuthenticationTypes |
fromConfiguredPropertyValue(String value) |
static SupportedAuthenticationTypes |
fromSecurityDefinition(String value) |
static boolean |
supports(String schemeType,
String flow) |
static SupportedAuthenticationTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedAuthenticationTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedAuthenticationTypes apiKey
public static final SupportedAuthenticationTypes basic
public static final SupportedAuthenticationTypes oauth2
public static SupportedAuthenticationTypes[] values()
for (SupportedAuthenticationTypes c : SupportedAuthenticationTypes.values()) System.out.println(c);
public static SupportedAuthenticationTypes valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SupportedAuthenticationTypes fromConfiguredPropertyValue(String value)
public static SupportedAuthenticationTypes fromSecurityDefinition(String value)
public static ConfigurationProperty.PropertyValue asPropertyValue(String name, io.apicurio.datamodels.core.models.common.SecurityScheme scheme)
Copyright © 2016–2021 Red Hat. All rights reserved.