'Menu for authentication with external services
- used in default/user controller'

@classmethod
def menu_oauth(cls, **attr):

    T = current.T
    settings = current.deployment_settings
    return MOA(c='default')(MOA('Login    with    Facebook', f='facebook', args=['login'], api='facebook', check=(lambda item: current.s3db.msg_facebook_login()), title=T('Login    using    Facebook    account')), MOA('Login    with    Google', f='google', args=['login'], api='google', check=(lambda item: settings.get_auth_google()), title=T('Login    using    Google    account')), MOA('Login    with    Humanitarian.ID', f='humanitarian_id', args=['login'], api='humanitarianid', check=(lambda item: settings.get_auth_humanitarian_id()), title=T('Login    using    Humanitarian.ID    account')))
