Move role related views to FAB Auth manager:

- List roles
- Edit role
- Create role
- View role
"""Openid providers."""
        return self.appbuilder.get_app.config["OPENID_PROVIDERS"]
    @property
    def oauth_providers(self):
        """Oauth providers."""
        return self.appbuilder.get_app.config["OAUTH_PROVIDERS"]
    @property
    def current_user(self):
        """Current user object."""
        if get_auth_manager().is_logged_in():
            return g.user
        elif current_user_jwt:
            return current_user_jwt
    def oauth_user_info_getter(self, f):
        """
        Decorator function to be the OAuth user info getter
        for all the providers, receives provider and response
        return a dict with the information returned from the provider.
        The returned user info dict should have it's keys with the same
        name as the User Model.
        Use it like this an example for GitHub ::
            @appbuilder.sm.oauth_user_info_getter
            def my_oauth_user_info(sm, provider, response=None):
                if provider == 'github':
                    me = sm.oauth_remotes[provider].get('user')
                    return {'username': me.data.get('login')}
                else:
                    return {}
        """
        def wraps(provider, response=None):