public final class HttpBearerConverter extends java.lang.Object implements SecuritySchemeConverter<HttpBearerAuthTrait>
Constructor and Description |
---|
HttpBearerConverter() |
Modifier and Type | Method and Description |
---|---|
SecurityScheme |
createSecurityScheme(Context<? extends Trait> context,
HttpBearerAuthTrait trait)
Creates an OpenAPI security scheme.
|
java.lang.Class<HttpBearerAuthTrait> |
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<HttpBearerAuthTrait> getAuthSchemeType()
SecuritySchemeConverter
getAuthSchemeType
in interface SecuritySchemeConverter<HttpBearerAuthTrait>
public SecurityScheme createSecurityScheme(Context<? extends Trait> context, HttpBearerAuthTrait trait)
SecuritySchemeConverter
createSecurityScheme
in interface SecuritySchemeConverter<HttpBearerAuthTrait>
context
- Conversion context.trait
- Authentication trait to convert.