gcb_web_auth/utils.py
def current_user_details(oauth_service, user):
    """
    A simple method to make an OAuth request to the user details endpoint, that will automatically refresh the token
    :param oauth_service: An OAuthService model object
    :param user: a django model user
    :return:
    """
    session = make_refreshing_oauth_session(oauth_service, user)
    return fetch_user_details(oauth_service, session)

    A simple method to make an OAuth request to the user details endpoint, that will automatically refresh the token
    :param oauth_service: An OAuthService model object
    :param user: a django model user
    :return:
    
A simple method to make an OAuth request to the user details endpoint, that will automatically refresh the token
A simple method to make an OAuth request to the user details endpoint that will automatically refresh the token
def current_user_details(oauth_service, user):
    session = make_refreshing_oauth_session(oauth_service, user)
    return fetch_user_details(oauth_service, session)
def current_user_details ( oauth_service , user ) : session = make_refreshing_oauth_session ( oauth_service , user ) return fetch_user_details ( oauth_service , session )
A simple method to make an OAuth request to the user details endpoint, that will automatically refresh the token
A simple method to make an OAuth request to the user details endpoint that will automatically refresh the token
"""
    A simple method to make an OAuth request to the user details endpoint, that will automatically refresh the token
    :param oauth_service: An OAuthService model object
    :param user: a django model user
    :return:
    """
None
oauth_service
An OAuthService model object
An OAuthService model object
user
a django model user
a django model user