Class WebAuthStatus
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.api.WebAuthStatus
-
public class WebAuthStatus extends java.lang.Object
Encapsulates a snapshot of authentication and authorization state
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebAuthStatus.Builder
static class
WebAuthStatus.GsonAdapter
static class
WebAuthStatus.PrivateGsonAdapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebAuthStatus.Builder
builder()
java.util.Optional<java.lang.String>
getIdp()
com.inductiveautomation.ignition.common.gson.JsonObject
getIdpAttributes()
com.google.common.collect.ImmutableSet<SecurityLevelConfig>
getSecurityLevels()
java.util.Optional<WebAuthUser>
getUser()
boolean
isAuthenticated()
boolean
isAuthenticationRequired()
boolean
isAuthorized()
-
-
-
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()
-
builder
@Nonnull public static WebAuthStatus.Builder builder()
-
-