Interface AuthChallengeCompleteEvent.Result.Success
- All Superinterfaces:
- AuthChallengeCompleteEvent.Result
- Enclosing interface:
- AuthChallengeCompleteEvent.Result
public static interface AuthChallengeCompleteEvent.Result.Success
extends AuthChallengeCompleteEvent.Result
Representation of a successful authentication challenge result.
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.inductiveautomation.perspective.gateway.api.AuthChallengeCompleteEvent.ResultAuthChallengeCompleteEvent.Result.Error, AuthChallengeCompleteEvent.Result.Success
- 
Method SummaryModifier and TypeMethodDescriptionAlways throws anUnsupportedOperationExceptionsince thisAuthChallengeCompleteEvent.Resultrepresents successdefault booleanisError()default boolean
- 
Method Details- 
isSuccessdefault boolean isSuccess()- Specified by:
- isSuccessin interface- AuthChallengeCompleteEvent.Result
- Returns:
- true since this AuthChallengeCompleteEvent.Resultrepresents success
 
- 
isErrordefault boolean isError()- Specified by:
- isErrorin interface- AuthChallengeCompleteEvent.Result
- Returns:
- false since this AuthChallengeCompleteEvent.Resultrepresents success
 
- 
getAsSuccess- Specified by:
- getAsSuccessin interface- AuthChallengeCompleteEvent.Result
- Returns:
- this AuthChallengeCompleteEvent.Resulttyped asAuthChallengeCompleteEvent.Result.Success
 
- 
getAsErrorAlways throws anUnsupportedOperationExceptionsince thisAuthChallengeCompleteEvent.Resultrepresents success- Specified by:
- getAsErrorin interface- AuthChallengeCompleteEvent.Result
- Returns:
- the result as an AuthChallengeCompleteEvent.Result.Errorobject if the result is an error, otherwise throws anUnsupportedOperationExceptionif the result is successful. CheckAuthChallengeCompleteEvent.Result.isSuccess()orAuthChallengeCompleteEvent.Result.isError()before calling this method to ensure you get the correct result type.
 
- 
getWebAuthUserContextWebAuthUserContext getWebAuthUserContext()- Returns:
- the WebAuthUserContextwhich contains details about the user who performed the successful authentication challenge
 
 
-