public final class AuthenticationRecord extends Object
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationRecord |
deserialize(InputStream inputStream)
Deserializes the
AuthenticationRecord from the specified InputStream |
static Mono<AuthenticationRecord> |
deserializeAsync(InputStream inputStream)
Deserializes the
AuthenticationRecord from the specified InputStream |
String |
getAuthority()
Get the authority host used to authenticate the account.
|
String |
getClientId()
Get the client id of the application used for authentication.
|
String |
getHomeAccountId()
Get the unique identifier of the account.
|
String |
getTenantId()
Get the tenant, which the account authenticated in.
|
String |
getUsername()
Get the user principal name of the account.
|
void |
serialize(OutputStream outputStream)
Serializes the
AuthenticationRecord to the specified OutputStream |
Mono<OutputStream> |
serializeAsync(OutputStream outputStream)
Serializes the
AuthenticationRecord to the specified OutputStream |
public String getAuthority()
public String getHomeAccountId()
public String getTenantId()
public String getClientId()
public String getUsername()
public Mono<OutputStream> serializeAsync(OutputStream outputStream)
AuthenticationRecord to the specified OutputStreamoutputStream - The OutputStream to which the serialized record will be written to.Mono containing Voidpublic void serialize(OutputStream outputStream)
AuthenticationRecord to the specified OutputStreamoutputStream - The OutputStream to which the serialized record will be written to.public static Mono<AuthenticationRecord> deserializeAsync(InputStream inputStream)
AuthenticationRecord from the specified InputStreaminputStream - The InputStream from which the serialized record will be read.Mono containing the AuthenticationRecord object.public static AuthenticationRecord deserialize(InputStream inputStream)
AuthenticationRecord from the specified InputStreaminputStream - The InputStream from which the serialized record will be read.AuthenticationRecord object.Copyright © 2021 Microsoft Corporation. All rights reserved.