C# Class TonyBaloney.St2.Client.AuthExtensions

An authentication extensions.
Datei anzeigen Open project: tonybaloney/St2Client

Public Methods

Method Description
AddXAuthToken ( this client, TokenResponse token ) : void

A HttpClient extension method that adds an x-auth-token to the client headers

Method Details

AddXAuthToken() public static method

A HttpClient extension method that adds an x-auth-token to the client headers
public static AddXAuthToken ( this client, TokenResponse token ) : void
client this The client to act on.
token TonyBaloney.St2.Client.Models.TokenResponse The token.
return void