[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#L126)

Overrides [FirefoxAccountShaped.getTokenServerEndpointURL](../-firefox-account-shaped/get-token-server-endpoint-u-r-l.md)

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

