method

App.OpenUploadForIdentity

func (application *App) OpenUploadForIdentity( ctx context.Context, collection, key string, identity *AuthIdentity, ) (io.ReadCloser, storage.Object, error)

Open an upload through one exact authenticated collection identity.

Source core/uploads.go:351

@param ctx
The ctx value.
@param collection
The collection value.
@param key
The key value.
@param identity
The identity value.
@returns
The declared result.

Related types

  • App

    A resolved application bound to operation services.

  • AuthIdentity

    An exact authenticated collection and actor document.

  • Object

    Object identity and authoritative content metadata.