public final class HttpBasicConverter extends java.lang.Object implements SecuritySchemeConverter<HttpBasicAuthTrait>
Constructor and Description |
---|
HttpBasicConverter() |
Modifier and Type | Method and Description |
---|---|
SecurityScheme |
createSecurityScheme(Context<? extends Trait> context,
HttpBasicAuthTrait trait)
Creates an OpenAPI security scheme.
|
java.lang.Class<HttpBasicAuthTrait> |
getAuthSchemeType()
Get the U that matches this converter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createSecurityRequirements, getAuthRequestHeaders, getAuthResponseHeaders, getAuthSchemeId, getOpenApiAuthSchemeName, usesHttpCredentials
public java.lang.Class<HttpBasicAuthTrait> getAuthSchemeType()
SecuritySchemeConverter
getAuthSchemeType
in interface SecuritySchemeConverter<HttpBasicAuthTrait>
public SecurityScheme createSecurityScheme(Context<? extends Trait> context, HttpBasicAuthTrait trait)
SecuritySchemeConverter
createSecurityScheme
in interface SecuritySchemeConverter<HttpBasicAuthTrait>
context
- Conversion context.trait
- Authentication trait to convert.