Merge branch 'develop' into stable

This commit is contained in:
Brian Long 2021-09-03 12:42:25 -04:00
commit 34d03a91e5

View File

@ -18,52 +18,72 @@ public interface ClientConfiguration {
/** /**
* @return The username for BASIC authentication. * @return The username for BASIC authentication.
*/ */
String getBasicAuthUsername(); default String getBasicAuthUsername() {
return null;
}
/** /**
* @return The corresponding password for the username in BASIC authentication. * @return The corresponding password for the username in BASIC authentication.
*/ */
String getBasicAuthPassword(); default String getBasicAuthPassword() {
return null;
}
/** /**
* @return The token for BEARER authorization. * @return The token for BEARER authorization.
*/ */
String getBearerToken(); default String getBearerToken() {
return null;
}
/** /**
* @return The token URL for OAuth authorization. * @return The token URL for OAuth authorization.
*/ */
String getOAuthTokenUrl(); default String getOAuthTokenUrl() {
return null;
}
/** /**
* @return The client ID provided by the OAuth IdP administrator. * @return The client ID provided by the OAuth IdP administrator.
*/ */
String getOAuthClientId(); default String getOAuthClientId() {
return null;
}
/** /**
* @return The corresponding client secret for the client ID provided by the OAuth IdP administrator. * @return The corresponding client secret for the client ID provided by the OAuth IdP administrator.
*/ */
String getOAuthClientSecret(); default String getOAuthClientSecret() {
return null;
}
/** /**
* @return The authorization code used in the OAuth Authorization Code flow. * @return The authorization code used in the OAuth Authorization Code flow.
*/ */
String getOAuthAuthCode(); default String getOAuthAuthCode() {
return null;
}
/** /**
* @return The redirect URL used in the OAuth Authorization Code flow. * @return The redirect URL used in the OAuth Authorization Code flow.
*/ */
String getOAuthAuthRedirectUri(); default String getOAuthAuthRedirectUri() {
return null;
}
/** /**
* @return The username used in the OAuth Password Grant flow. * @return The username used in the OAuth Password Grant flow.
*/ */
String getOAuthUsername(); default String getOAuthUsername() {
return null;
}
/** /**
* @return The corresponding password for the username used in the OAuth Password Grant flow. * @return The corresponding password for the username used in the OAuth Password Grant flow.
*/ */
String getOAuthPassword(); default String getOAuthPassword() {
return null;
}
/** /**
* This method creates an authorization filter based on the configuration * This method creates an authorization filter based on the configuration