Loading src/main/java/com/inteligr8/rs/ClientConfiguration.java +30 −10 Original line number Diff line number Diff line Loading @@ -18,52 +18,72 @@ public interface ClientConfiguration { /** * @return The username for BASIC authentication. */ String getBasicAuthUsername(); default String getBasicAuthUsername() { return null; } /** * @return The corresponding password for the username in BASIC authentication. */ String getBasicAuthPassword(); default String getBasicAuthPassword() { return null; } /** * @return The token for BEARER authorization. */ String getBearerToken(); default String getBearerToken() { return null; } /** * @return The token URL for OAuth authorization. */ String getOAuthTokenUrl(); default String getOAuthTokenUrl() { return null; } /** * @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. */ String getOAuthClientSecret(); default String getOAuthClientSecret() { return null; } /** * @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. */ String getOAuthAuthRedirectUri(); default String getOAuthAuthRedirectUri() { return null; } /** * @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. */ String getOAuthPassword(); default String getOAuthPassword() { return null; } /** * This method creates an authorization filter based on the configuration Loading Loading
src/main/java/com/inteligr8/rs/ClientConfiguration.java +30 −10 Original line number Diff line number Diff line Loading @@ -18,52 +18,72 @@ public interface ClientConfiguration { /** * @return The username for BASIC authentication. */ String getBasicAuthUsername(); default String getBasicAuthUsername() { return null; } /** * @return The corresponding password for the username in BASIC authentication. */ String getBasicAuthPassword(); default String getBasicAuthPassword() { return null; } /** * @return The token for BEARER authorization. */ String getBearerToken(); default String getBearerToken() { return null; } /** * @return The token URL for OAuth authorization. */ String getOAuthTokenUrl(); default String getOAuthTokenUrl() { return null; } /** * @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. */ String getOAuthClientSecret(); default String getOAuthClientSecret() { return null; } /** * @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. */ String getOAuthAuthRedirectUri(); default String getOAuthAuthRedirectUri() { return null; } /** * @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. */ String getOAuthPassword(); default String getOAuthPassword() { return null; } /** * This method creates an authorization filter based on the configuration Loading