Share via


AuthenticationRecord.DeserializeAsync(Stream, CancellationToken) Method

Definition

Deserializes the AuthenticationRecord from the specified Stream.

public static System.Threading.Tasks.Task<Azure.Identity.AuthenticationRecord> DeserializeAsync (System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default);
static member DeserializeAsync : System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Identity.AuthenticationRecord>
Public Shared Function DeserializeAsync (stream As Stream, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AuthenticationRecord)

Parameters

stream
Stream

The Stream from which the serialized AuthenticationRecord will be read.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

Applies to