Class AuthConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionConfigures a particular parameter value to be used by any of the different internal authentication filters that processes the different securityScheme definitions.static final StringConfigures a particular http header attribute from were to take the security token from when the token propagation is enabled.static final StringEnables the authentication token propagation for this particular securityScheme. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TOKEN_PROPAGATION
- See Also:
-
HEADER_NAME
- See Also:
-
tokenPropagation
Enables the authentication token propagation for this particular securityScheme.For example, given a file named petstore.json with a securityScheme named "petstore-auth" the following configuration must be used.
quarkus.openapi-generator.petstore_json.auth.petstore_auth.token-propagation=true
- See Also:
-
headerName
Configures a particular http header attribute from were to take the security token from when the token propagation is enabled. Use this fine-grained configuration in very particular scenarios.For example, given a file named petstore.json with a securityScheme named "petstore-auth" the following configuration must be used.
quarkus.openapi-generator.petstore_json.auth.petstore_auth.header-name=MyParticularHttpHeaderName
- See Also:
-
authConfigParams
Configures a particular parameter value to be used by any of the different internal authentication filters that processes the different securityScheme definitions.For example, given a file named petstore.json with a securityScheme named "petstore-basic-auth", that is of http basic authentication type, the following configuration can establish the user and password to be used. must be used.
quarkus.openapi-generator.petstore_json.auth.petstore_basic_auth.username=MyUserName quarkus.openapi-generator.petstore_json.auth.petstore_basic_auth.password=MyPassword
-
-
Constructor Details
-
AuthConfig
public AuthConfig()
-
-
Method Details