AuthenticationRecord.Deserialize(Stream, CancellationToken) Method

Definition

Deserializes the AuthenticationRecord from the specified Stream.

public static Azure.Identity.AuthenticationRecord Deserialize (System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default);
static member Deserialize : System.IO.Stream * System.Threading.CancellationToken -> Azure.Identity.AuthenticationRecord
Public Shared Function Deserialize (stream As Stream, Optional cancellationToken As CancellationToken = Nothing) As 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