StaticAuthProvider
final class StaticAuthProvider implements AuthProviderInterface (View source)
A simple auth provider that just statically returns the same user id that it was given upon construction time and grants all privileges
Methods
Details
__construct(UserId $userId)
No description
UserId|null
getAuthenticatedUserId()
No description
VisibilityConstraints
getVisibilityConstraints(WorkspaceName $workspaceName)
No description
Privilege
canReadNodesFromWorkspace(WorkspaceName $workspaceName)
No description
Privilege
canExecuteCommand(CommandInterface $command)
No description