Package pl.edu.icm.unity.engine.api
Interface AuthenticationFlowManagement
public interface AuthenticationFlowManagement
API for authentication flow management.
- Author:
- P.Piernik
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuthenticationFlow
(AuthenticationFlowDefinition authenticatorsFlowDefinition) Add new authentication flowgetAuthenticationFlow
(String name) Get authentication flow by given namevoid
removeAuthenticationFlow
(String toRemove) Removes an existing authentication flow.void
updateAuthenticationFlow
(AuthenticationFlowDefinition authFlowdef) Update existing authentication flow
-
Method Details
-
addAuthenticationFlow
void addAuthenticationFlow(AuthenticationFlowDefinition authenticatorsFlowDefinition) throws EngineException Add new authentication flow- Throws:
EngineException
-
removeAuthenticationFlow
Removes an existing authentication flow. The authentication flow must not be used by any of the endpoints, to be removed.- Parameters:
toRemove
- authentication flow id- Throws:
EngineException
-
getAuthenticationFlows
- Returns:
- list of currently configured authentication flow
- Throws:
EngineException
-
getAuthenticationFlow
Get authentication flow by given name- Returns:
- authentication flow
- Throws:
EngineException
-
updateAuthenticationFlow
Update existing authentication flow- Throws:
EngineException
-