login

fun login(username: String, password: String): String

Authenticates with the OpenTV IAS service and returns an access token.

Return

The access token string on successful authentication

Parameters

username

credential used only for this call, not retained afterwards

password

credential used only for this call, not retained afterwards

Throws

if authentication fails or network error occurs