Package v1.sulphurapi.handlers.auth
Class SecurityHandler
java.lang.Object
v1.sulphurapi.handlers.auth.SecurityHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSecurityHandler
(APILoader apiLoader) Constructor for the SecurityHandler class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears the JList of all its valuesio.swagger.v3.oas.models.security.SecurityScheme
Retrieves the current Security SchemeRetrieves the current Selected Security Schemevoid
setSelectedSecurityScheme
(int index) Updates the Selected Security Scheme with aint
inputvoid
setSelectedSecurityScheme
(String selectedSecurityScheme) Updates the Selected Security Scheme with aString
input
-
Field Details
-
Constructor Details
-
SecurityHandler
Constructor for the SecurityHandler class.- Parameters:
apiLoader
- the APILoader instance that will be used to access the GUIManager and other components.
-
-
Method Details
-
setSelectedSecurityScheme
Updates the Selected Security Scheme with aString
input -
setSelectedSecurityScheme
public void setSelectedSecurityScheme(int index) Updates the Selected Security Scheme with aint
input -
getSelectedSecurityScheme
Retrieves the current Selected Security Scheme -
getCurrentSecurityScheme
public io.swagger.v3.oas.models.security.SecurityScheme getCurrentSecurityScheme()Retrieves the current Security Scheme -
clearSecurityRequirements
public void clearSecurityRequirements()Clears the JList of all its values
-