Class WebAuthStatus
- java.lang.Object
- 
- com.inductiveautomation.perspective.gateway.api.WebAuthStatus
 
- 
 public class WebAuthStatus extends java.lang.ObjectEncapsulates a snapshot of authentication and authorization state
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classWebAuthStatus.Builderstatic classWebAuthStatus.Diffstatic classWebAuthStatus.GsonAdapterstatic classWebAuthStatus.PrivateGsonAdapter
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebAuthStatus.Builderbuilder()WebAuthStatus.Diffdiff(WebAuthStatus that)static WebAuthStatus.Diffdiff(WebAuthStatus webAuthStatusA, WebAuthStatus webAuthStatusB)booleanequals(java.lang.Object o)java.util.Optional<java.lang.String>getIdp()com.inductiveautomation.ignition.common.gson.JsonObjectgetIdpAttributes()com.google.common.collect.ImmutableSet<SecurityLevelConfig>getSecurityLevels()java.util.Optional<WebAuthUser>getUser()inthashCode()booleanisAuthenticated()booleanisAuthenticationRequired()booleanisAuthorized()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
isAuthenticationRequiredpublic boolean isAuthenticationRequired() 
 - 
isAuthenticatedpublic boolean isAuthenticated() 
 - 
isAuthorizedpublic boolean isAuthorized() 
 - 
getUser@Nonnull public java.util.Optional<WebAuthUser> getUser() 
 - 
getSecurityLevels@Nonnull public com.google.common.collect.ImmutableSet<SecurityLevelConfig> getSecurityLevels() 
 - 
getIdp@Nonnull public java.util.Optional<java.lang.String> getIdp() 
 - 
getIdpAttributes@Nonnull public com.inductiveautomation.ignition.common.gson.JsonObject getIdpAttributes() 
 - 
diffpublic static WebAuthStatus.Diff diff(WebAuthStatus webAuthStatusA, WebAuthStatus webAuthStatusB) 
 - 
diffpublic WebAuthStatus.Diff diff(WebAuthStatus that) 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
builder@Nonnull public static WebAuthStatus.Builder builder() 
 
- 
 
-