ConnectedDevicesAccessTokenInvalidatedEventArgs Class

  • java.lang.Object
    • NativeBase
      • com.microsoft.connecteddevices.ConnectedDevicesAccessTokenInvalidatedEventArgs

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
ConnectedDevicesAccount 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 getScopes()

Get the list of scopes for which the token must cover when generated.

Returns:

List of scopes in the format of strings

Applies to