AccMgrAuthTokenProvider
Constructs a provider whose account identity comes exclusively from its bound manager.
Constructs a provider with a routing-only instance URL override. The override never participates in account selection, persistence, refresh coordination, or logout.
constructor(@NonNull clientManager: ClientManager, @Nullable instanceUrl: String, @Nullable authToken: String, @Nullable refreshToken: String)
Deprecated
Use AccMgrAuthTokenProvider. If instanceUrl represented a custom client route, use AccMgrAuthTokenProvider. This compatibility constructor will be removed in Mobile SDK 15.0.
Constructs a provider for the user bound to clientManager.
Parameters
clientManager
Manager that supplies the provider's persisted account identity and live credentials.
instanceUrl
Ignored. Routing comes from the manager's bound user.
authToken
Ignored. Access-token state comes from the manager's bound user.
refreshToken
Ignored. Refresh-token state comes from the manager's bound user.