Table of Contents

KVSKBAHttpOAuthPassCredentials

Implements [#437dbf0e84ff417a965ded2bb9650972#Shipment Method ](https://github.com/search?q=Table+%5b%23437dbf0e84ff417a965ded2bb9650972%23Shipment+Method+%3aocticons-mark-github-16%3a%5d(https%3a%2f%2fgithub.com%2fsearch%3fq%3dTable%2b%2523437dbf0e84ff417a965ded2bb9650972%2523Shipment%2bMethod%2brepo%253AStefanMaron%252FMSDyn365BC.Code.History%26type%3dCode)+repo%3AStefanMaron%2FMSDyn365BC.Code.History&type=Code).

Procedures

Initialize(Text, Text, Text, Text, Text, Text, Text, List) :

[NonDebuggable()]
procedure Initialize(OAuthAuthorityUrl: Text; ClientId: Text; ClientSecret: Text; Username: Text; UserPassword: Text; Audience: Text; OrganizationDnsName: Text; Scopes: List): 

IsAuthenticationRequired() : Boolean

Summary: Checks if the authentication is required

procedure IsAuthenticationRequired(): Boolean

Returns: Always true

GetAuthorizationHeaders() : Dictionary

Summary: Gets the authorization headers for the request

procedure GetAuthorizationHeaders(): Dictionary

Returns: The header Authorization with the value of Bearer + Token