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 Summary
Nested Classes Modifier and Type Class Description static classWebAuthStatus.Builderstatic classWebAuthStatus.Diffstatic classWebAuthStatus.GsonAdapterstatic classWebAuthStatus.PrivateGsonAdapter 
- 
Method Summary
All 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
- 
isAuthenticationRequired
public boolean isAuthenticationRequired()
 
- 
isAuthenticated
public boolean isAuthenticated()
 
- 
isAuthorized
public 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()
 
- 
diff
public static WebAuthStatus.Diff diff(WebAuthStatus webAuthStatusA, WebAuthStatus webAuthStatusB)
 
- 
diff
public WebAuthStatus.Diff diff(WebAuthStatus that)
 
- 
equals
public boolean equals(java.lang.Object o)
- Overrides:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
builder
@Nonnull public static WebAuthStatus.Builder builder()
 
 - 
 
 -