static AuthStrategy |
AuthStrategyFactory.createBasicAuth(String username,
String password) |
Creates a strategy that uses HTTP Basic authentication.
|
static AuthStrategy |
AuthStrategyFactory.createBearerToken(String token) |
Creates a strategy that uses Bearer token authentication.
|
static AuthStrategy |
AuthStrategyFactory.createBearerToken(String token,
BooleanSupplier refreshTokenLogic) |
Creates a strategy that uses Bearer token authentication with custom refresh logic.
|
static AuthStrategy |
AuthStrategyFactory.createNoAuth() |
Creates a strategy that does not perform authentication.
|
static AuthStrategy |
AuthStrategyFactory.createOAuth2Assertion(String clientId,
String userId,
String privateKey,
String companyId,
String grantType,
String assertionUrl,
String tokenUrl) |
Creates a strategy that uses OAuth 2.0 assertion flow.
|
static AuthStrategy |
AuthStrategyFactory.createOAuth2Assertion(String clientId,
String userId,
String privateKey,
String companyId,
String grantType,
String assertionUrl,
String tokenUrl,
Map<String,String> additionalAssertionParams,
Map<String,String> additionalTokenParams) |
Creates a strategy that uses OAuth 2.0 assertion flow with additional parameters.
|
static AuthStrategy |
AuthStrategyFactory.createOAuth2ClientCredentials(String clientId,
String clientSecret,
String tokenUrl) |
Creates a strategy that uses OAuth 2.0 client credentials flow.
|
static AuthStrategy |
AuthStrategyFactory.createOAuth2ClientCredentials(String clientId,
String clientSecret,
String tokenUrl,
Map<String,String> additionalParams) |
Creates a strategy that uses OAuth 2.0 client credentials flow with additional parameters.
|
static AuthStrategy |
AuthStrategyFactory.createOAuth2Password(String username,
String password,
String tokenUrl) |
Creates a strategy that uses OAuth 2.0 password flow.
|
static AuthStrategy |
AuthStrategyFactory.createOAuth2Password(String username,
String password,
String clientId,
String clientSecret,
String tokenUrl) |
Creates a strategy that uses OAuth 2.0 password flow with client credentials.
|
static AuthStrategy |
AuthStrategyFactory.createOAuth2Password(String username,
String password,
String clientId,
String clientSecret,
String tokenUrl,
Map<String,String> additionalParams) |
Creates a strategy that uses OAuth 2.0 password flow with client credentials and additional parameters.
|