Table of Contents

Class BearerTokenEndpointAuthenticationAddIn

Namespace
Dynamicweb.DataIntegration.EndpointManagement.AuthenticationAddIns
Assembly
Dynamicweb.DataIntegration.dll
[AddInDeprecated(false)]
[AddInName("Bearer Token")]
[AddInLabel("Bearer Token")]
[AddInDescription("Bearer Token")]
public class BearerTokenEndpointAuthenticationAddIn : BaseEndpointAuthenticationAddIn, IParameterVisibility
Inheritance
BearerTokenEndpointAuthenticationAddIn
Implements
Inherited Members

Properties

BearerToken

[SensitiveData]
[AddInParameter("Bearer Token")]
[AddInParameterEditor(typeof(TextParameterEditor), "password=true")]
public string? BearerToken { get; set; }

Property Value

string

TokenEncrypted

Hidden Parameter which is used in the UpdateScript to only update once the not yet encrypted BearerToken. This is needed because the BearerToken is encrypted in the UpdateScript and we need to know if it was already encrypted or not.

[AddInParameter("TokenEncrypted")]
public string? TokenEncrypted { get; set; }

Property Value

string

Methods

GetHiddenParameterNames(string, object?)

public IEnumerable<string> GetHiddenParameterNames(string parameterName, object? parameterValue)

Parameters

parameterName string
parameterValue object

Returns

IEnumerable<string>

PrepareClient(Uri, HttpClient, HttpClientHandler, Endpoint)

public override void PrepareClient(Uri uri, HttpClient client, HttpClientHandler clientHandler, Endpoint endpoint)

Parameters

uri Uri
client HttpClient
clientHandler HttpClientHandler
endpoint Endpoint

ValidateParameters()

public override string? ValidateParameters()

Returns

string
To top