method

App.OpenUploadForIdentity

Open an upload through one exact authenticated collection identity.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionstringThe collection value.
keystringThe key value.
identity*AuthIdentityThe identity value.

Returns

The declared result.

(io.ReadCloser, storage.Object, error)

Full signature

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

Source core/uploads.go:399

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.