# IConfluenceCredentialSource

Applies caller-owned authentication to an outgoing Confluence request.

Interface 

`OfficeIMO.Confluence`

**Namespace**

`OfficeIMO.Confluence`

**Assembly**

`OfficeIMO.Confluence`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ConfluenceCredentials.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceCredentials.cs#L7)

**Modifiers**

abstract

Applies caller-owned authentication to an outgoing Confluence request.

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [ConfluenceSession.CredentialSource](/api/confluence/officeimo-confluence-confluencesession/#property-credentialsource)

### Accepted by parameters 1

- Constructor [ConfluenceSession.ConfluenceSession](/api/confluence/officeimo-confluence-confluencesession/#constructor-ctor-officeimo-confluence-iconfluencecredentialsource-officeimo-confluence-confluencesessionoptions) parameter `credentialSource`

Filter members 

Show inherited

## Methods

`public abstract Task ApplyAsync(HttpRequestMessage request, CancellationToken cancellationToken = default)` [#](#method-applyasync-net-http-httprequestmessage-threading-cancellationtoken)

Applies credentials to a request before it is sent.

Parameters

**request System.Net.Http.HttpRequestMessage required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task`

<!-- PowerForge markdown artifact sha256:F842E4E74FA8642FD92D3CBF5E8CE58B01661CE75078CC5FA0256EDB4DB22024 -->
