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

37 строки
2.2 KiB
YAML

### YamlMime:JavaType
methods:
- fullName: com.microsoft.identity.client.ICurrentAccountResult.didAccountChange()
name: didAccountChange()
nameWithType: 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.ICurrentAccountResult.didAccountChange()
- fullName: com.microsoft.identity.client.ICurrentAccountResult.getCurrentAccount()
name: getCurrentAccount()
nameWithType: 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.ICurrentAccountResult.getCurrentAccount()
- fullName: com.microsoft.identity.client.ICurrentAccountResult.getPriorAccount()
name: getPriorAccount()
nameWithType: 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.ICurrentAccountResult.getPriorAccount()
nameWithType: ICurrentAccountResult
syntax: public interface ICurrentAccountResult
type: interface
uid: com.microsoft.identity.client.ICurrentAccountResult
fullName: com.microsoft.identity.client.ICurrentAccountResult
name: ICurrentAccountResult
package: com.microsoft.identity.client
metadata: {}