C# 클래스 TonyBaloney.St2.Client.AuthExtensions

An authentication extensions.
파일 보기 프로젝트 열기: tonybaloney/St2Client

공개 메소드들

메소드 설명
AddXAuthToken ( this client, TokenResponse token ) : void

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

메소드 상세

AddXAuthToken() 공개 정적인 메소드

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.
리턴 void