Codeunit 70623700 EOS004 API Key Authentication
Codeunit 70623700 EOS004 API Key Authentication
Provides API-key-based authentication.
Methods
Initialize
procedure Initialize(HeaderValue: SecretText)
Initializes the instance with X-API-Key as the header name.
Parameters / Return Value
HeaderValue
SecretTextThe value for the header.
Initialize
procedure Initialize(HeaderName: Text; HeaderValue: SecretText)
Initializes the instance.
Parameters / Return Value
HeaderName
Text[]The name of the header for the API key.
HeaderValue
SecretTextThe value for the header.
IsAuthenticationRequired
procedure IsAuthenticationRequired(): Boolean
Parameters / Return Value
- Returns
Boolean
GetAuthorizationHeaders
procedure GetAuthorizationHeaders(): Dictionary of [Text, SecretText]
Parameters / Return Value
- Returns
Dictionary[Text,SecretText]
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
EOS Labs -