UserDiskController
class UserDiskController extends Controller
Traits
Methods
Determines if the request was done by an automated script (with API token or ajax).
Redirects to the _redirect URL, to a route or else back.
Handle the dCache authentication response.
Check if a new storage disk has valid options/credentials and create it
Delete a storage disk
Checks whether the endpoint URL is valid and the disk is accessible
Start the authentication flow for dCache.
Details
in
Controller at line 21
bool
isAutomatedRequest(Request $request = null)
Determines if the request was done by an automated script (with API token or ajax).
in
Controller at line 15
protected RedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
at line 58
Response
store(StoreUserDisk $request)
Initialize a new user storage disk
at line 84
dCacheCallback(Request $request)
Handle the dCache authentication response.
at line 188
protected
validateAndCreateDisk(string $name, string $type, int $userId, array $options = [])
Check if a new storage disk has valid options/credentials and create it
at line 254
Response
update(UpdateUserDisk $request)
Update a user storage disk
at line 298
Response
extend(ExtendUserDisk $request)
Extend a storage disk
at line 323
Response
destroy(int $id)
Delete a storage disk
at line 344
protected void
validateS3Config(UserDisk $disk)
Validates the given user s3 disk configuration
at line 381
protected void
validateGenericConfig(UserDisk $disk)
Validates the given user disk configuration
at line 397
protected void
validateDiskAccess(mixed $disk)
Checks whether the endpoint URL is valid and the disk is accessible
at line 408
protected
dCacheAuthFlow()
Start the authentication flow for dCache.