[android-components](../../index.md) / [mozilla.components.service.fxa](../index.md) / [FirefoxAccountShaped](index.md) / [getAccessToken](./get-access-token.md)

# getAccessToken

`abstract fun getAccessToken(singleScope: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): Deferred<`[`AccessTokenInfo`](../-access-token-info.md)`>` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/service/firefox-accounts/src/main/java/mozilla/components/service/fxa/FirefoxAccount.kt#L27)