Interface AuthChallengeCompleteEvent
-
public interface AuthChallengeCompleteEvent
This event is fired when an authentication challenge is completed by the user. It is passed to the onAuthChallengeCompleted session event script handler if the authentication challenge originated from the authentication challenge action or the system.perspective.authenticationChallenge scripting function. It is fired on the session event bus if the authentication challenge originated from any other source, such as a third party module.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AuthChallengeCompleteEvent.Result
Representation of the result of an authentication challenge.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getClient()
java.util.Optional<com.inductiveautomation.ignition.common.gson.JsonElement>
getPayload()
AuthChallengeCompleteEvent.Result
getResult()
-
-
-
Method Detail
-
getClient
java.lang.String getClient()
- Returns:
- the auth challenge client identifier associated with the client which triggered the auth challenge
-
getPayload
java.util.Optional<com.inductiveautomation.ignition.common.gson.JsonElement> getPayload()
- Returns:
- an
Optional
containing the opaque payload set on the auth challenge request, or an empty Optional if a null payload was set
-
getResult
AuthChallengeCompleteEvent.Result getResult()
- Returns:
- the result of the authentication challenge
- See Also:
AuthChallengeCompleteEvent.Result
-
-