[android-components](../../index.md) / [mozilla.components.concept.sync](../index.md) / [OAuthAccount](index.md) / [getTokenServerEndpointURL](./get-token-server-endpoint-u-r-l.md)

# getTokenServerEndpointURL

`abstract 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/concept/sync/src/main/java/mozilla/components/concept/sync/OAuthAccount.kt#L167)

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

**Return**
Token server endpoint URL string

