ConnectedDevicesAccessTokenInvalidatedEventArgs Class
- java.
lang. Object - NativeBase
- com.
microsoft. connecteddevices. ConnectedDevicesAccessTokenInvalidatedEventArgs
- com.
public class ConnectedDevicesAccessTokenInvalidatedEventArgs
Returned by ConnectedDevicesAccount to inform that the token associated with ConnectedDevicesAccount reported token error for the contained scopes. Token provider needs to either refresh their token cache or potentially pop up UI to ask user to sign in in order to fix their account setup.
Method Summary
Modifier and Type | Method and Description |
---|---|
Connected |
getAccount()
Gets the Account associated with this ConnectedDevicesAccessTokenInvalidatedEventArgs. |
List<String> |
getScopes()
Get the list of scopes for which the token must cover when generated. |
Method Details
getAccount
public ConnectedDevicesAccount getAccount()
Gets the Account associated with this ConnectedDevicesAccessTokenInvalidatedEventArgs.
Returns:
getScopes
public List
Get the list of scopes for which the token must cover when generated.
Returns: