Class ConfigCredentialsProvider
java.lang.Object
io.quarkiverse.openapi.generator.providers.ConfigCredentialsProvider
- All Implemented Interfaces:
CredentialsProvider
@Dependent
@Alternative
@Priority(100)
public class ConfigCredentialsProvider
extends Object
implements CredentialsProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetApiKey(CredentialsContext input) Gets the API Key given the OpenAPI definition and security schemaGets the password given the OpenAPI definition and security schemaGets the username given the OpenAPI definition and security schemagetBearerToken(CredentialsContext input) Gets the Bearer Token given the OpenAPI definition and security schemaprotected StringgetConfigKey(CredentialsContext input) Gets the OAuth2 Bearer Token given the OpenAPI definition and security schema
-
Constructor Details
-
ConfigCredentialsProvider
public ConfigCredentialsProvider()
-
-
Method Details
-
getApiKey
Description copied from interface:CredentialsProviderGets the API Key given the OpenAPI definition and security schema- Specified by:
getApiKeyin interfaceCredentialsProvider- Parameters:
input- the input data available to the method- Returns:
- the API Key to use when filtering the request
-
getBasicUsername
Description copied from interface:CredentialsProviderGets the username given the OpenAPI definition and security schema- Specified by:
getBasicUsernamein interfaceCredentialsProvider- Parameters:
input- the input data available to the method- Returns:
- the username to use when filtering the request
-
getBasicPassword
Description copied from interface:CredentialsProviderGets the password given the OpenAPI definition and security schema- Specified by:
getBasicPasswordin interfaceCredentialsProvider- Parameters:
input- the input data available to the method- Returns:
- the password to use when filtering the request
-
getBearerToken
Description copied from interface:CredentialsProviderGets the Bearer Token given the OpenAPI definition and security schema- Specified by:
getBearerTokenin interfaceCredentialsProvider- Parameters:
input- the input data available to the method- Returns:
- the Bearer Token to use when filtering the request
-
getConfigKey
-
getOauth2BearerToken
Description copied from interface:CredentialsProviderGets the OAuth2 Bearer Token given the OpenAPI definition and security schema- Specified by:
getOauth2BearerTokenin interfaceCredentialsProvider- Parameters:
input- the input data available to the method- Returns:
- the Bearer Token to use when filtering the request
-