azure-docs-sdk-java/docs-ref-autogen/com.microsoft.identity.clie...

56 строки
3.7 KiB
YAML

### YamlMime:JavaType
constructors:
- fullName: com.microsoft.identity.client.CurrentAccountResult.CurrentAccountResult(IAccount current, IAccount prior, boolean changed)
name: CurrentAccountResult(IAccount current, IAccount prior, boolean changed)
nameWithType: CurrentAccountResult.CurrentAccountResult(IAccount current, IAccount prior, boolean changed)
parameters:
- name: current
type: <xref href="com.microsoft.identity.client.IAccount?alt=com.microsoft.identity.client.IAccount&text=IAccount" data-throw-if-not-resolved="False"/>
- name: prior
type: <xref href="com.microsoft.identity.client.IAccount?alt=com.microsoft.identity.client.IAccount&text=IAccount" data-throw-if-not-resolved="False"/>
- name: changed
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
syntax: public CurrentAccountResult(IAccount current, IAccount prior, boolean changed)
uid: com.microsoft.identity.client.CurrentAccountResult.CurrentAccountResult(IAccount,IAccount,boolean)
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
- <xref href="com.microsoft.identity.client.ICurrentAccountResult?alt=com.microsoft.identity.client.ICurrentAccountResult&text=ICurrentAccountResult" data-throw-if-not-resolved="False"/>
methods:
- fullName: com.microsoft.identity.client.CurrentAccountResult.didAccountChange()
name: didAccountChange()
nameWithType: CurrentAccountResult.didAccountChange()
overridden: com.microsoft.identity.client.ICurrentAccountResult.didAccountChange()
returns:
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
summary: <p>Indicates whether the current account has changed since last checked. If changed you can access the prior and current acocunts to perform necessary clean up within the UX. </p>
syntax: public boolean didAccountChange()
uid: com.microsoft.identity.client.CurrentAccountResult.didAccountChange()
- fullName: com.microsoft.identity.client.CurrentAccountResult.getCurrentAccount()
name: getCurrentAccount()
nameWithType: CurrentAccountResult.getCurrentAccount()
overridden: com.microsoft.identity.client.ICurrentAccountResult.getCurrentAccount()
returns:
description: <p>IAccount </p>
type: <xref href="com.microsoft.identity.client.IAccount?alt=com.microsoft.identity.client.IAccount&text=IAccount" data-throw-if-not-resolved="False"/>
summary: <p>Returns the current account signed into the app or in the case of shared device mode. Signed into the device </p>
syntax: public IAccount getCurrentAccount()
uid: com.microsoft.identity.client.CurrentAccountResult.getCurrentAccount()
- fullName: com.microsoft.identity.client.CurrentAccountResult.getPriorAccount()
name: getPriorAccount()
nameWithType: CurrentAccountResult.getPriorAccount()
overridden: com.microsoft.identity.client.ICurrentAccountResult.getPriorAccount()
returns:
description: <p>IAccount </p>
type: <xref href="com.microsoft.identity.client.IAccount?alt=com.microsoft.identity.client.IAccount&text=IAccount" data-throw-if-not-resolved="False"/>
summary: <p>If the current signed in account changed as a result of being removed from the device, returns the prior account signed into the app or in the case of shared device mode. Signed into the device </p>
syntax: public IAccount getPriorAccount()
uid: com.microsoft.identity.client.CurrentAccountResult.getPriorAccount()
nameWithType: CurrentAccountResult
syntax: public class CurrentAccountResult implements ICurrentAccountResult
type: class
uid: com.microsoft.identity.client.CurrentAccountResult
fullName: com.microsoft.identity.client.CurrentAccountResult
name: CurrentAccountResult
package: com.microsoft.identity.client
metadata: {}