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 Summary- 
Nested classes/interfaces inherited from interface com.inductiveautomation.perspective.gateway.api.AuthChallengeCompleteEvent.ResultAuthChallengeCompleteEvent.Result.Error, AuthChallengeCompleteEvent.Result.Success
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AuthChallengeCompleteEvent.Result.ErrorgetAsError()Always throws anUnsupportedOperationExceptionsince thisAuthChallengeCompleteEvent.Resultrepresents successdefault AuthChallengeCompleteEvent.Result.SuccessgetAsSuccess()WebAuthUserContextgetWebAuthUserContext()default booleanisError()default booleanisSuccess()
 
- 
- 
- 
Method Detail- 
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
 
 - 
getAsSuccessdefault AuthChallengeCompleteEvent.Result.Success getAsSuccess() - Specified by:
- getAsSuccessin interface- AuthChallengeCompleteEvent.Result
- Returns:
- this AuthChallengeCompleteEvent.Resulttyped asAuthChallengeCompleteEvent.Result.Success
 
 - 
getAsErrordefault AuthChallengeCompleteEvent.Result.Error getAsError() Always 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
 
 
- 
 
-