public interface EndpointInstance
JsonSerializable
interface; authenticators, id, and description are always set via initialize method.
Lifecycle:
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Stops the endpoint.
|
List<AuthenticationFlow> |
getAuthenticationFlows() |
pl.edu.icm.unity.types.endpoint.ResolvedEndpoint |
getEndpointDescription() |
String |
getSerializedConfiguration() |
void |
initialize(pl.edu.icm.unity.types.endpoint.ResolvedEndpoint endpointDescription,
List<AuthenticationFlow> authenticatonOptions,
String serializedConfiguration) |
void |
start()
Starts the endpoint.
|
void |
updateAuthenticationFlows(List<AuthenticationFlow> authenticationFlows)
Runtime update of the authenticators being used by this endpoint.
|
void initialize(pl.edu.icm.unity.types.endpoint.ResolvedEndpoint endpointDescription,
List<AuthenticationFlow> authenticatonOptions,
String serializedConfiguration)
endpointDescription - most of the endpoint's settingsauthenticatonOptions - authenticator instances for the endpoint.serializedConfiguration - endpoint specific configuration
(as returned by getSerializedConfiguration().pl.edu.icm.unity.types.endpoint.ResolvedEndpoint getEndpointDescription()
List<AuthenticationFlow> getAuthenticationFlows()
String getSerializedConfiguration()
void start()
throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineExceptionvoid destroy()
throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineExceptionvoid updateAuthenticationFlows(List<AuthenticationFlow> authenticationFlows) throws UnsupportedOperationException
handler - authenticationFlows - UnsupportedOperationException - if the operation is unsupported and the endpoint must be
re-created instead.Copyright © 2018 Unity. All rights reserved.