Search Results for

Show / Hide Table of Contents

# Interface IAzureSigner

Bridges CoreUpload to an Azure Blob Storage upload session using a pre-signed blob SAS URL. The browser uses the SAS to PutBlock and PutBlockList directly; the server only signs and records metadata. The core library takes no Azure SDK dependency — host apps register an implementation with DI: `services.AddSingleton<IAzureSigner, MyAzureSigner>()`. When no IAzureSigner is registered, the `/azure/*` endpoints respond with `501 Not Implemented`.

###### Namespace: CoreUpload.Providers

###### Assembly: CoreUpload.dll

##### Syntax

    public interface IAzureSigner

### Methods

#### AbortUploadAsync(AzureAbortRequest, CancellationToken)

##### Declaration

    Task AbortUploadAsync(AzureAbortRequest request, CancellationToken cancellationToken = default)

##### Parameters

Type | Name | Description
--- | --- | ---
AzureAbortRequest | request |
CancellationToken | cancellationToken |

##### Returns

Type | Description
--- | ---
Task |

#### CompleteUploadAsync(AzureCompleteRequest, CancellationToken)

##### Declaration

    Task<AzureCompleteResult> CompleteUploadAsync(AzureCompleteRequest request, CancellationToken cancellationToken = default)

##### Parameters

Type | Name | Description
--- | --- | ---
AzureCompleteRequest | request |
CancellationToken | cancellationToken |

##### Returns

Type | Description
--- | ---
Task<AzureCompleteResult> |

#### CreateUploadAsync(AzureCreateRequest, CancellationToken)

##### Declaration

    Task<AzureCreateResult> CreateUploadAsync(AzureCreateRequest request, CancellationToken cancellationToken = default)

##### Parameters

Type | Name | Description
--- | --- | ---
AzureCreateRequest | request |
CancellationToken | cancellationToken |

##### Returns

Type | Description
--- | ---
Task<AzureCreateResult> |