python/dna/apy/auth.py
def check_token(token):
    ''' Verify http header token authentification '''
    user = models.User.objects(api_key=token).first()
    return user or None
def check_token(token):
    ''' Verify http header token authentification '''
    user = models.User.objects(api_key=token).first()
    return user or None
def check_token ( token ) : user = models . User . objects ( api_key = token ) . first ( ) return user or None
Verify http header token authentification
Verify http header token authentification