Ejemplo n.º 1
0
def auth_headers(write_token):
    """Authentication headers (with a valid oauth2 token).

    It uses the token associated with the first user.
    """
    return bearer_auth([], write_token)
Ejemplo n.º 2
0
def auth_headers(write_token):
    """Authentication headers (with a valid oauth2 token).

    It uses the token associated with the first user.
    """
    return bearer_auth([], write_token)
Ejemplo n.º 3
0
def json_extra_auth_headers(json_headers, extra_token):
    """Authentication headers (with a valid oauth2 token).

    It uses the token associated with the first user.
    """
    return bearer_auth(json_headers, extra_token)
Ejemplo n.º 4
0
def json_extra_auth_headers(json_headers, extra_token):
    """Authentication headers (with a valid oauth2 token).

    It uses the token associated with the first user.
    """
    return bearer_auth(json_headers, extra_token)