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

36 строки
2.2 KiB
YAML

### YamlMime:JavaType
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
methods:
- fullName: com.microsoft.identity.client.internal.api.BrokerClientIdRefreshTokenAccessor.get(@NonNull final Context context, @NonNull final String accountObjectId)
name: get(@NonNull final Context context, @NonNull final String accountObjectId)
nameWithType: BrokerClientIdRefreshTokenAccessor.get(@NonNull final Context context, @NonNull final String accountObjectId)
parameters:
- description: <p>application context </p>
name: context
type: <xref href="%40NonNull+final+Context?alt=%40NonNull+final+Context&text=%40NonNull+final+Context" data-throw-if-not-resolved="False"/>
- description: <p>local_account_id of the account. </p>
name: accountObjectId
type: <xref href="%40NonNull+final+String?alt=%40NonNull+final+String&text=%40NonNull+final+String" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="MsalClientException?alt=MsalClientException&text=MsalClientException" data-throw-if-not-resolved="False"/>
description: <p>if the calling app is not a broker app. </p>
returns:
description: <p>an RT, if there's any. </p>
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
summary: >-
<p>Returns a refresh token associated to Broker's client ID. Will throw an exception if The caller is not a valid Broker app. NOTE: This will also wipe the AT/RT associated to Broker's client ID from MSAL local cache.</p>
<p></p>
syntax: public static String get(@NonNull final Context context, @NonNull final String accountObjectId)
uid: com.microsoft.identity.client.internal.api.BrokerClientIdRefreshTokenAccessor.get(@NonNull final Context,@NonNull final String)
nameWithType: BrokerClientIdRefreshTokenAccessor
syntax: public class BrokerClientIdRefreshTokenAccessor
type: class
uid: com.microsoft.identity.client.internal.api.BrokerClientIdRefreshTokenAccessor
fullName: com.microsoft.identity.client.internal.api.BrokerClientIdRefreshTokenAccessor
name: BrokerClientIdRefreshTokenAccessor
package: com.microsoft.identity.client.internal.api
summary: <p>For Broker apps to obtain an RT associated to Broker's client ID (for WPJ scenario). </p>
metadata: {}