def METHOD_NAME(uri, user_email=None, user_enc_pass=None):
    # Get signature
    secret_key_signature = get_signature(APPLICATION_SECRET_KEY, uri)
    application_authentication = '{}:{}'.format(APPLICATION_NAME, secret_key_signature)
    if user_email is None or user_enc_pass is None:
        return '{}'.format(application_authentication)
    return '{}:{}:{}'.format(application_authentication, user_email, user_enc_pass)