Interface AppIdentity
- All Superinterfaces:
Identifiable
- All Known Implementing Classes:
CertificateAppIdentity, Token
An application identity that can access Central Dogma resources.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this application identity allows guest access.appId()Returns the application ID.creation()Returns who created this application identity when.@Nullable UserAndTimestampReturns who deactivated this application identity when.@Nullable UserAndTimestampdeletion()Returns who deleted this application identity when.default booleanisActive()Returns whether this application identity is active.default booleanReturns whether this application identity is deleted.booleanReturns whether this application identity is for system administrators.type()Returns the application identity type.withSystemAdmin(boolean isSystemAdmin) Returns a newAppIdentityinstance with the specified system admin flag.Methods inherited from interface Identifiable
id
-
Method Details
-
appId
String appId()Returns the application ID. -
type
AppIdentityType type()Returns the application identity type. -
isSystemAdmin
boolean isSystemAdmin()Returns whether this application identity is for system administrators. -
allowGuestAccess
boolean allowGuestAccess()Returns whether this application identity allows guest access. -
creation
UserAndTimestamp creation()Returns who created this application identity when. -
deactivation
@Nullable UserAndTimestamp deactivation()Returns who deactivated this application identity when. -
deletion
@Nullable UserAndTimestamp deletion()Returns who deleted this application identity when. -
isActive
default boolean isActive()Returns whether this application identity is active. -
isDeleted
default boolean isDeleted()Returns whether this application identity is deleted. -
withSystemAdmin
Returns a newAppIdentityinstance with the specified system admin flag.
-