def get_oauth_services():
    if 'github_client_id' in web.config:
        yield web.storage(name='github', title='GitHub')
    if 'google_client_id' in web.config:
        yield web.storage(name='google', title='Google')
    if 'facebook_client_id' in web.config:
        yield web.storage(name='facebook', title='Facebook')
Returns an iterator over the available oauth services.
dataset/ETHPy150Open anandology/broadgauge/broadgauge/oauth.py/get_oauth_services