Class BearerTokenEndpointAuthenticationAddIn
- 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
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
Methods
GetHiddenParameterNames(string, object?)
public IEnumerable<string> GetHiddenParameterNames(string parameterName, object? parameterValue)
Parameters
Returns
PrepareClient(Uri, HttpClient, HttpClientHandler, Endpoint)
public override void PrepareClient(Uri uri, HttpClient client, HttpClientHandler clientHandler, Endpoint endpoint)
Parameters
uriUriclientHttpClientclientHandlerHttpClientHandlerendpointEndpoint
ValidateParameters()
public override string? ValidateParameters()