C# Class TonyBaloney.St2.Client.AuthExtensions

An authentication extensions.
Afficher le fichier Open project: tonybaloney/St2Client

Méthodes publiques

Méthode 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 méthode

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.
Résultat void