[android-components](../../index.md) / [mozilla.components.service.fxa](../index.md) / [FirefoxAccount](index.md) / [getTokenServerEndpointURL](./get-token-server-endpoint-u-r-l.md)

# getTokenServerEndpointURL

`fun getTokenServerEndpointURL(): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/service/firefox-accounts/src/main/java/mozilla/components/service/fxa/FirefoxAccount.kt#L157)

Overrides [OAuthAccount.getTokenServerEndpointURL](../../mozilla.components.concept.sync/-o-auth-account/get-token-server-endpoint-u-r-l.md)

Fetches the token server endpoint, for authentication using the SAML bearer flow.

