...
URL definition
International users:
Spanish jurisdiction users:
...
https: //identitysso.betfair.es/view/login?product=<theProductDescriptor>&url=<theRedirectUrl> |
Italian jurisdiction users:
...
https: //identitysso.betfair.it/view/login?product=<theProductDescriptor>&url=<theRedirectUrl> |
...
International jurisdictions:
...
Spanish jurisdiction:
...
Italian jurisdiction:
...
...
International jurisdictions:
...
Spain jurisdiction:
...
Italian jurisdiction:
...
Parameters
- product (mandatory) - The Application key to which the user is logging into.
eg. Ljdiejje9399rew - url (mandatory) - The url to which the the browser should be redirected in case of a successful logout. This will be https://www.betfair.com by default but additional URLs can be added to a whitelist by arrangement with Betfair.
eg. https://www.betfair.com
...
A sample client, written in C#, is available to demonstrate this process on Github. This is a C# project created under Visual Studio 2010, written against .Net 4, and is a Winforms Application.
The key steps demonstrated by this client are:
- Embed identitysso.betfair.com into your application
- Handle the login method and retrieval of a session token from the cookies
- Handle the keep alive method
- Handle the logout method
...
How it works
Upon start-up, the URL of the API login page is assigned to the web browser control:
...