Helpers

Create a basic auth header

Create a basic auth header from the supplied username and password

C#
AuthHelper.CreateBasicAuthHeader("username", "password");

Create an OAuth 2 header

Creates an OAuth 2 header from the supplied OAuth 2 token

C#
AuthHelper.CreateOAuth2Header("OAuthToken");