Class Role
A role object represents a role that a User has.
A role is a personality that a user assumes when performing a specific set of operations. A role includes a set of rights and privileges. A user assuming a role inherits the rights and privileges associated with the role. A token that is issued to a user includes the list of roles the user can assume. When a user calls a service, that service determines how to interpret a user's roles. A role that grants access to a list of operations or resources within one service may grant access to a completely different list when interpreted by a different service.
- OpenCloud\Common\Base
-
OpenCloud\Common\Resource\BaseResource
-
OpenCloud\Common\Resource\PersistentResource
-
OpenCloud\Common\PersistentObject
-
OpenCloud\Identity\Resource\Role
Package: OpenCloud\Identity\Resource
Located at OpenCloud/Identity/Resource/Role.php
Methods summary
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
Methods inherited from OpenCloud\Common\Resource\PersistentResource
checkExtension(),
create(),
delete(),
refresh(),
refreshFromLocationUrl(),
update(),
waitFor()
Methods inherited from OpenCloud\Common\Resource\BaseResource
__construct(),
findLink(),
getClient(),
getMetadata(),
getParent(),
getService(),
getUrl(),
jsonCollectionElement(),
jsonCollectionName(),
jsonName(),
parseResponse(),
resourceName(),
setMetadata(),
setParent(),
setService()
Methods inherited from OpenCloud\Common\Base
__call(),
checkJsonError(),
generateUuid(),
getInstance(),
getLogger(),
hasLogger(),
makeResourceIteratorOptions(),
populate(),
setLogger(),
stripNamespace(),
toCamel(),
toUnderscores()