asDiscoveryUrl

Casts this Oauth2Discovery as a DiscoveryUrl and retrieves its kotlin.String value. Throws an exception if the Oauth2Discovery is not a DiscoveryUrl.