Package com.atlassian.jira.user
Interface ServiceAccountApplicationUser
- All Superinterfaces:
ApplicationUser,Principal,Serializable,com.atlassian.crowd.embedded.api.service.ServiceAccount,WithId,WithKey
- All Known Implementing Classes:
ServiceAccountApplicationUserImpl
public interface ServiceAccountApplicationUser
extends ApplicationUser, com.atlassian.crowd.embedded.api.service.ServiceAccount
Represents a Service Account which is an entity used in machine to machine invocations
-
Field Summary
FieldsFields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR -
Method Summary
Modifier and TypeMethodDescriptionbooleancanAccessResource(ResourceRestrictionEntityType resourceType, String resourceId) default ApplicationUserTypegetType()booleanhasAnyScope(String... scopes) Methods inherited from interface com.atlassian.jira.user.ApplicationUser
equals, getDirectoryId, getDirectoryUser, getDisplayName, getEmailAddress, getKey, getName, getUsername, hashCode, isActiveMethods inherited from interface com.atlassian.crowd.embedded.api.service.ServiceAccount
getDescription, getDisplayName, getId, getResourceRestrictions, isActive
-
Field Details
-
SERVICE_ACCOUNT_DUMMY_DIRECTORY_ID
static final long SERVICE_ACCOUNT_DUMMY_DIRECTORY_ID- See Also:
-
-
Method Details
-
hasAnyScope
-
canAccessResource
-
getType
- Specified by:
getTypein interfaceApplicationUser
-