This function returns am_status_t with one of the following values:
If the evaluation was performed successfully and access is to be allowed to the specified resource.
If the evaluation was not successfully completed due to insufficient memory being available.
If any of the URL, action_name, env_parameter_map, or advices_map_ptr parameters is NULL or if client IP validation is enabled and the client_ip parameter is NULL.
If the specified sso_token does not refer to a currently valid session
If the policy information indicates that the user does not have permission to access the specified resource or any error is detected other than the ones listed above.